poweropcodes: lscbx cleanup.

This commit is contained in:
joevt 2024-02-24 19:44:46 -08:00 committed by dingusdev
parent 6a51e8a1c9
commit 6a4326af39
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ void dppc_interpreter::power_dozi() {
void dppc_interpreter::power_lscbx() {
ppc_grab_regsdab();
ppc_effective_address = reg_a ? ppc_result_a + ppc_result_b : ppc_result_b;
ppc_effective_address = ppc_result_b + (reg_a ? ppc_result_a : 0);
uint8_t return_value = 0;
uint32_t bytes_to_load = (ppc_state.spr[SPR::XER] & 0x7F);