diff --git a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp index b1b6cc010..2bdc4f5b8 100644 --- a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp +++ b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp @@ -9066,7 +9066,7 @@ void CX86RecompilerOps::FoundMemoryBreakpoint() { ClearCachedInstructionInfo(); MoveConstToVariable((m_NextInstruction == JUMP || m_NextInstruction == DELAY_SLOT) ? 1 : 0, &memory_write_in_delayslot, "memory_write_in_delayslot"); - Call_Direct(x86MemoryBreakpoint, "x86MemoryBreakpoint"); + Call_Direct((void *)x86MemoryBreakpoint, "x86MemoryBreakpoint"); ExitCodeBlock(); m_NextInstruction = END_BLOCK; }