From 315231d439f171fc1192aea1a5e74d778ab80b18 Mon Sep 17 00:00:00 2001 From: zilmar Date: Tue, 11 Oct 2022 17:31:28 +1030 Subject: [PATCH] Core: Writing to 0x0410000C was not calling AfterCallDirect() --- .../Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp index 884b7ed8f..11025ba3f 100644 --- a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp +++ b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp @@ -10472,6 +10472,7 @@ void CX86RecompilerOps::SW_Const(uint32_t Value, uint32_t VAddr) m_Assembler.PushImm32(Value); m_Assembler.PushImm32(PAddr | 0xA0000000); m_Assembler.CallThis((uint32_t)g_MMU, AddressOf(&CMipsMemoryVM::SW_NonMemory), "CMipsMemoryVM::SW_NonMemory", 12); + m_RegWorkingSet.AfterCallDirect(); break; default: if (BreakOnUnhandledMemory())