mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
CPU/Recompiler: Emit DCIC exit path in far code
Fixes PS3 BIOS booting.
This commit is contained in:
parent
1bc354c64e
commit
2d8806c13f
|
@ -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(¬_enabled);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue