mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-18 11:55:38 +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();
|
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(¬_enabled);
|
EmitBindLabel(¬_enabled);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue