Core: Fixed recompiler memory overrun for m_TestTimer (#2480)
This commit is contained in:
parent
1c2b1db429
commit
7d5c867bfd
|
@ -9609,7 +9609,7 @@ void CX86RecompilerOps::OverflowDelaySlot(bool TestTimer)
|
||||||
|
|
||||||
if (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());
|
m_Assembler.PushImm32("g_System->CountPerOp()", g_System->CountPerOp());
|
||||||
|
|
Loading…
Reference in New Issue