Ensure R0 cannot be written to in LBU

This commit is contained in:
LegendOfDragoon 2015-09-24 15:31:45 -07:00
parent fb8db802b3
commit 8bede83fd4
1 changed files with 2 additions and 0 deletions

View File

@ -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