Ensure R0 cannot be written to in LH
This commit is contained in:
parent
3a5569ce9d
commit
b6721d1cdc
|
@ -651,6 +651,8 @@ void Compile_LH ( 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_LH,"RSP_Opcode_LH"); return;
|
Cheat_r4300iOpcode(RSP_Opcode_LH,"RSP_Opcode_LH"); return;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue