Make sure PC is updated on BP
This commit is contained in:
parent
9cb3ed48e2
commit
c1200514c6
|
@ -10067,6 +10067,7 @@ void CX86RecompilerOps::CompileExecuteBP(void)
|
||||||
m_RegWorkingSet.WriteBackRegisters();
|
m_RegWorkingSet.WriteBackRegisters();
|
||||||
|
|
||||||
UpdateCounters(m_RegWorkingSet, true, true);
|
UpdateCounters(m_RegWorkingSet, true, true);
|
||||||
|
MoveConstToVariable(CompilePC(), _PROGRAM_COUNTER, "PROGRAM_COUNTER");
|
||||||
if (g_SyncSystem)
|
if (g_SyncSystem)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
@ -10093,6 +10094,7 @@ void CX86RecompilerOps::CompileExecuteDelaySlotBP(void)
|
||||||
m_RegWorkingSet.WriteBackRegisters();
|
m_RegWorkingSet.WriteBackRegisters();
|
||||||
|
|
||||||
UpdateCounters(m_RegWorkingSet, true, true);
|
UpdateCounters(m_RegWorkingSet, true, true);
|
||||||
|
MoveConstToVariable(CompilePC(), _PROGRAM_COUNTER, "PROGRAM_COUNTER");
|
||||||
if (g_SyncSystem)
|
if (g_SyncSystem)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
Loading…
Reference in New Issue