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();
// exit block early if enabled
m_register_cache.PushState();
EmitFunctionCall(nullptr, &CPU::UpdateDebugDispatcherFlag);
EmitBranch(GetCurrentFarCodePointer());
SwitchToFarCode();
EmitExceptionExit();
m_register_cache.PopState();
SwitchToNearCode();
EmitBindLabel(&not_enabled);
}