mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-25 03:29:38 +00:00
Slight tweak to lscbx
This commit is contained in:
parent
8f99510af0
commit
a58ce8aeb3
@ -164,12 +164,12 @@ void dppc_interpreter::power_lscbx() {
|
|||||||
shift_amount -= 8;
|
shift_amount -= 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (return_value == matching_byte)
|
|
||||||
break;
|
|
||||||
|
|
||||||
ppc_effective_address++;
|
ppc_effective_address++;
|
||||||
bytes_copied++;
|
bytes_copied++;
|
||||||
bytes_to_load--;
|
bytes_to_load--;
|
||||||
|
|
||||||
|
if (return_value == matching_byte)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
ppc_state.spr[SPR::XER] = (ppc_state.spr[SPR::XER] & 0xFFFFFF80) | bytes_copied;
|
ppc_state.spr[SPR::XER] = (ppc_state.spr[SPR::XER] & 0xFFFFFF80) | bytes_copied;
|
||||||
|
Loading…
Reference in New Issue
Block a user