From b188bdae3c47861621af67d7b592f671cccd93fb Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 11 Aug 2015 22:21:51 -0400 Subject: [PATCH] forgot to recycle `del = EleSpec[RSPOpC.rs].B[el];` in VABS --- Source/RSP/Interpreter Ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/RSP/Interpreter Ops.c b/Source/RSP/Interpreter Ops.c index 61d09889f..cdb87cfec 100644 --- a/Source/RSP/Interpreter Ops.c +++ b/Source/RSP/Interpreter Ops.c @@ -923,7 +923,7 @@ void RSP_Vector_VABS (void) { if (RSP_Vect[RSPOpC.rd].HW[el] > 0) { result.HW[el] = RSP_Vect[RSPOpC.rt].UHW[del]; } else if (RSP_Vect[RSPOpC.rd].HW[el] < 0) { - if (RSP_Vect[RSPOpC.rt].UHW[EleSpec[RSPOpC.rs].B[el]] == 0x8000) { + if (RSP_Vect[RSPOpC.rt].UHW[del] == 0x8000) { result.HW[el] = 0x7FFF; } else { result.HW[el] = RSP_Vect[RSPOpC.rt].HW[del] * -1;