poweropcodes: Fix srq.

Test bit 26 of rB instead of testing for >= 0x20 to determine which operation to perform.
This commit is contained in:
joevt 2024-04-09 02:47:29 -07:00 committed by dingusdev
parent 916cb47b9d
commit f45b7c47c8

View File

@ -662,7 +662,7 @@ void dppc_interpreter::power_srq() {
ppc_grab_regssab(ppc_cur_instruction);
unsigned rot_sh = ppc_result_b & 0x1F;
if (ppc_result_b >= 0x20) {
if (ppc_result_b & 0x20) {
ppc_result_a = 0;
} else {
ppc_result_a = ppc_result_d >> rot_sh;