Ensure R0 cannot be written to in LHU
This commit is contained in:
parent
8bede83fd4
commit
466c03e27d
|
@ -826,6 +826,8 @@ void Compile_LHU ( void ) {
|
||||||
int Offset = (short)RSPOpC.offset;
|
int Offset = (short)RSPOpC.offset;
|
||||||
BYTE * Jump[2];
|
BYTE * Jump[2];
|
||||||
|
|
||||||
|
if(RSPOpC.rt == 0) return;
|
||||||
|
|
||||||
#ifndef Compile_GPRLoads
|
#ifndef Compile_GPRLoads
|
||||||
Cheat_r4300iOpcode(RSP_Opcode_LHU,"RSP_Opcode_LHU"); return;
|
Cheat_r4300iOpcode(RSP_Opcode_LHU,"RSP_Opcode_LHU"); return;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue