Core: Fixed recompiler memory overrun for m_TestTimer (#2481)

This commit is contained in:
Denis Kopyrin 2025-05-29 14:13:17 +08:00 committed by GitHub
parent d087de72d1
commit 11efdb1651
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -10202,7 +10202,7 @@ void CX86RecompilerOps::OverflowDelaySlot(bool TestTimer)
if (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()); PushImm32("g_System->CountPerOp()", g_System->CountPerOp());