From 7baee56f47d66a45c3a04ec0c97164a837a34cf0 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 15 Feb 2022 23:17:42 +0200 Subject: [PATCH] psxinterpreter: unbreak load delay handling Fixes: 943a507a4156b8f5b00e4431152e41eeb4dc6f3d --- libpcsxcore/psxinterpreter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.5