Core: Fixed recompiler memory overrun for m_TestTimer

This commit is contained in:
aglab2 2025-05-16 09:39:46 +08:00
parent d5ee7de865
commit d391b216a6
1 changed files with 1 additions and 1 deletions

View File

@ -9609,7 +9609,7 @@ void CX86RecompilerOps::OverflowDelaySlot(bool TestTimer)
if (TestTimer)
{
m_Assembler.MoveConstToVariable(&g_System->m_TestTimer, "R4300iOp::m_TestTimer", TestTimer);
m_Assembler.MoveConstByteToVariable(&g_System->m_TestTimer, "R4300iOp::m_TestTimer", TestTimer);
}
m_Assembler.PushImm32("g_System->CountPerOp()", g_System->CountPerOp());