From: notaz Date: Tue, 15 Feb 2022 21:17:42 +0000 (+0200) Subject: psxinterpreter: unbreak load delay handling X-Git-Tag: r24l~508 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7baee56f47d66a45c3a04ec0c97164a837a34cf0;p=pcsx_rearmed.git psxinterpreter: unbreak load delay handling Fixes: 943a507a4156b8f5b00e4431152e41eeb4dc6f3d --- diff --git a/libpcsxcore/psxinterpreter.c b/libpcsxcore/psxinterpreter.c index 5d931a9a..dd732b08 100644 --- a/libpcsxcore/psxinterpreter.c +++ b/libpcsxcore/psxinterpreter.c @@ -318,7 +318,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)) {