Slight tweak to lscbx

This commit is contained in:
dingusdev 2022-11-15 08:01:57 -07:00
parent 8f99510af0
commit a58ce8aeb3

View File

@ -164,12 +164,12 @@ void dppc_interpreter::power_lscbx() {
shift_amount -= 8;
}
if (return_value == matching_byte)
break;
ppc_effective_address++;
bytes_copied++;
bytes_to_load--;
if (return_value == matching_byte)
break;
}
ppc_state.spr[SPR::XER] = (ppc_state.spr[SPR::XER] & 0xFFFFFF80) | bytes_copied;