poweropcodes: Fix sriq.

This commit is contained in:
joevt 2024-02-18 03:47:21 -08:00 committed by dingusdev
parent 1438ebc12a
commit 35bc1bcb44
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ void dppc_interpreter::power_sriq() {
ppc_grab_regssa();
unsigned rot_sh = (ppc_cur_instruction >> 11) & 31;
ppc_result_a = ppc_result_d >> rot_sh;
ppc_state.spr[SPR::MQ] = ((ppc_result_d << rot_sh) | (ppc_result_d >> (32 - rot_sh)));
ppc_state.spr[SPR::MQ] = (ppc_result_d >> rot_sh) | (ppc_result_d << (32 - rot_sh));
if (rc_flag)
ppc_changecrf0(ppc_result_a);