mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
Bail out on a delay slot in VFPU on arm also.
Otherwise we loop infinitely. Workaround for #1926. Should fix #1679.
This commit is contained in:
parent
af940df872
commit
a640ac4001
@ -265,6 +265,10 @@ void Jit::Comp_FPUBranch(u32 op)
|
||||
// If likely is set, discard the branch slot if NOT taken.
|
||||
void Jit::BranchVFPUFlag(u32 op, ArmGen::CCFlags cc, bool likely)
|
||||
{
|
||||
if (js.inDelaySlot) {
|
||||
ERROR_LOG_REPORT(JIT, "Branch in VFPU delay slot at %08x", js.compilerPC);
|
||||
return;
|
||||
}
|
||||
int offset = (signed short)(op & 0xFFFF) << 2;
|
||||
u32 targetAddr = js.compilerPC + offset + 4;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user