From a8df1878b9b9a73fce0f13db4ef533d50b8d0ea4 Mon Sep 17 00:00:00 2001 From: aglab2 Date: Fri, 16 May 2025 09:45:28 +0800 Subject: [PATCH] Core: Fixed recompiler memory overrun for m_TestTimer --- .../N64System/Recompiler/x86/x86RecompilerOps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp index 15c46c48a..101d90217 100644 --- a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp +++ b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp @@ -10202,7 +10202,7 @@ void CX86RecompilerOps::OverflowDelaySlot(bool TestTimer) if (TestTimer) { - MoveConstToVariable(TestTimer, &R4300iOp::m_TestTimer, "R4300iOp::m_TestTimer"); + MoveConstByteToVariable(TestTimer, &R4300iOp::m_TestTimer, "R4300iOp::m_TestTimer"); } PushImm32("g_System->CountPerOp()", g_System->CountPerOp());