forgot to recycle `del = EleSpec[RSPOpC.rs].B[el];` in VABS

This commit is contained in:
unknown 2015-08-11 22:21:51 -04:00
parent 646d89b7a8
commit b188bdae3c
1 changed files with 1 additions and 1 deletions

View File

@ -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;