From: notaz Date: Tue, 15 Feb 2022 21:17:42 +0000 (+0200) Subject: psxinterpreter: unbreak load delay handling X-Git-Tag: r23~17 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=705d9544dd4bd26b720c7ff9ff9dae935a2af796;p=pcsx_rearmed.git psxinterpreter: unbreak load delay handling Fixes: 943a507a4156b8f5b00e4431152e41eeb4dc6f3d --- diff --git a/libpcsxcore/psxinterpreter.c b/libpcsxcore/psxinterpreter.c index 19a5fc4e..e7e32690 100644 --- a/libpcsxcore/psxinterpreter.c +++ b/libpcsxcore/psxinterpreter.c @@ -311,7 +311,7 @@ int psxTestLoadDelay(int reg, u32 tmp) { } void psxDelayTest(int reg, u32 bpc) { - u32 tmp = fetch(psxRegs.pc); + u32 tmp = fetch(bpc); branch = 1; switch (psxTestLoadDelay(reg, tmp)) {