Ensure R0 cannot be written to in LW
This commit is contained in:
parent
b6721d1cdc
commit
fb8db802b3
|
@ -715,6 +715,8 @@ void Compile_LW ( 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_LW,"RSP_Opcode_LW"); return;
|
Cheat_r4300iOpcode(RSP_Opcode_LW,"RSP_Opcode_LW"); return;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue