X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fr3000a.c;h=b5fe3bd16b167af5c1c249f3e32febcb9fa38ebd;hb=dc4fa8bcd7d8fb9ccd6c742a350f69e0683350e0;hp=21273584263ac78f5f543df32ae45b8e4879bdfa;hpb=bc7c5acb6eb1ac9adc6b4381a2c2b2baffd5aebe;p=pcsx_rearmed.git diff --git a/libpcsxcore/r3000a.c b/libpcsxcore/r3000a.c index 21273584..b5fe3bd1 100644 --- a/libpcsxcore/r3000a.c +++ b/libpcsxcore/r3000a.c @@ -96,7 +96,7 @@ void psxShutdown() { void psxException(u32 cause, enum R3000Abdt bdt, psxCP0Regs *cp0) { u32 opcode = intFakeFetch(psxRegs.pc); - if (unlikely(!Config.HLE && ((((opcode) >> 24) & 0xfe) == 0x4a))) { + if (unlikely(!Config.HLE && (opcode >> 25) == 0x25)) { // "hokuto no ken" / "Crash Bandicot 2" ... // BIOS does not allow to return to GTE instructions // (just skips it, supposedly because it's scheduled already) @@ -119,8 +119,6 @@ void psxException(u32 cause, enum R3000Abdt bdt, psxCP0Regs *cp0) { // Set the SR cp0->n.SR = (cp0->n.SR & ~0x3f) | ((cp0->n.SR & 0x0f) << 2); - - if (Config.HLE) psxBiosException(); } void psxBranchTest() {