mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-03-08 14:29:37 +00:00
poweropcodes: Fix sriq.
This commit is contained in:
parent
1438ebc12a
commit
35bc1bcb44
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user