Ensure R0 cannot be written to in LB

This happens in Castlevania and OOT, although I'm not sure if the code
ever gets reached.
This commit is contained in:
LegendOfDragoon 2015-09-24 15:13:21 -07:00
parent 14edb64e22
commit 3a5569ce9d
1 changed files with 2 additions and 0 deletions

View File

@ -619,6 +619,8 @@ void Compile_COP2 (void) {
void Compile_LB ( void ) {
int Offset = (short)RSPOpC.offset;
if(RSPOpC.rt == 0) return;
#ifndef Compile_GPRLoads
Cheat_r4300iOpcode(RSP_Opcode_LB,"RSP_Opcode_LB"); return;
#endif