Skip to content
Permalink
Browse files

pcsx2: DI execution is delayed by one instruction.

Fixes booting issues in the following games:
Jak X, Namco 50th anniversary, Spongebob the Movie, Spongebob Battle for Bikini Bottom,
The Incredibles, The Incredibles rize of the underminer, Soukou kihei armodyne, Garfield Saving Arlene, Tales of Fandom Vol. 2.

The games will no longer require a patch to boot.
  • Loading branch information
refractionpcsx2 authored and lightningterror committed Dec 18, 2019
1 parent 363b87b commit 908049a0fbd41718409894403dfd7223e35d0c15
Showing with 5 additions and 0 deletions.
  1. +5 −0 pcsx2/x86/iCOP0.cpp
@@ -114,6 +114,11 @@ void recDI()

//xFastCall((void*)(uptr)Interp::DI );

// Fixes booting issues in the following games:
// Jak X, Namco 50th anniversary, Spongebob the Movie, Spongebob Battle for Bikini Bottom,
// The Incredibles, The Incredibles rize of the underminer, Soukou kihei armodyne, Garfield Saving Arlene, Tales of Fandom Vol. 2.
recompileNextInstruction(0); // DI execution is delayed by one instruction

xMOV(eax, ptr[&cpuRegs.CP0.n.Status]);
xTEST(eax, 0x20006); // EXL | ERL | EDI
xForwardJNZ8 iHaveNoIdea;

0 comments on commit 908049a

Please sign in to comment.
You can’t perform that action at this time.