From 8bede83fd49c5f4b1ee81eb7362eb3562d6023df Mon Sep 17 00:00:00 2001 From: LegendOfDragoon Date: Thu, 24 Sep 2015 15:31:45 -0700 Subject: [PATCH] Ensure R0 cannot be written to in LBU --- Source/RSP/Recompiler Ops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/RSP/Recompiler Ops.c b/Source/RSP/Recompiler Ops.c index e49514dee..19efdcab4 100644 --- a/Source/RSP/Recompiler Ops.c +++ b/Source/RSP/Recompiler Ops.c @@ -792,6 +792,8 @@ void Compile_LW ( void ) { void Compile_LBU ( void ) { int Offset = (short)RSPOpC.offset; + if(RSPOpC.rt == 0) return; + #ifndef Compile_GPRLoads Cheat_r4300iOpcode(RSP_Opcode_LBU,"RSP_Opcode_LBU"); return; #endif