CPU/Recompiler: Emit DCIC exit path in far code

Fixes PS3 BIOS booting.
This commit is contained in:
Connor McLaughlin 2021-04-22 02:45:27 +10:00
parent 1bc354c64e
commit 2d8806c13f

View file

@ -2536,10 +2536,10 @@ bool CodeGenerator::Compile_cop0(const CodeBlockInstruction& cbi)
m_register_cache.UninhibitAllocation(); m_register_cache.UninhibitAllocation();
// exit block early if enabled // exit block early if enabled
m_register_cache.PushState(); EmitBranch(GetCurrentFarCodePointer());
EmitFunctionCall(nullptr, &CPU::UpdateDebugDispatcherFlag); SwitchToFarCode();
EmitExceptionExit(); EmitExceptionExit();
m_register_cache.PopState(); SwitchToNearCode();
EmitBindLabel(&not_enabled); EmitBindLabel(&not_enabled);
} }