Core: Fixed recompiler memory overrun for m_TestTimer (#2481)
This commit is contained in:
parent
d087de72d1
commit
11efdb1651
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue