From bbe603c7589ed3154c8a09d0c4cabf065aa7059a Mon Sep 17 00:00:00 2001 From: zilmar Date: Thu, 27 Jul 2023 16:01:03 +0930 Subject: [PATCH] RSP: fix up lbv --- Source/Project64-rsp/Interpreter Ops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-rsp/Interpreter Ops.cpp b/Source/Project64-rsp/Interpreter Ops.cpp index 37ca1f311..5a8a48e69 100644 --- a/Source/Project64-rsp/Interpreter Ops.cpp +++ b/Source/Project64-rsp/Interpreter Ops.cpp @@ -2132,7 +2132,7 @@ void RSP_Vector_VNOOP(void) void RSP_Opcode_LBV(void) { uint32_t Address = (uint32_t)(RSP_GPR[RSPOpC.base].W + (RSPOpC.voffset << 0)) & 0xFFF; - RSP_Vect[RSPOpC.rt].s8((uint8_t)(15 - RSPOpC.del)) = *(RSPInfo.DMEM + (Address ^ 3)); + RSP_Vect[RSPOpC.rt].s8(RSPOpC.del) = *(RSPInfo.DMEM + (Address ^ 3)); } void RSP_Opcode_LSV(void)