mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-23 21:29:28 +00:00
ppcopcodes: Fix rlwnm when shift > 31.
This commit is contained in:
parent
29e5bbdcc0
commit
6c49b87a06
@ -778,6 +778,7 @@ void dppc_interpreter::ppc_rlwinm() {
|
|||||||
|
|
||||||
void dppc_interpreter::ppc_rlwnm() {
|
void dppc_interpreter::ppc_rlwnm() {
|
||||||
ppc_grab_regssab();
|
ppc_grab_regssab();
|
||||||
|
ppc_result_b &= 31;
|
||||||
unsigned rot_mb = (ppc_cur_instruction >> 6) & 31;
|
unsigned rot_mb = (ppc_cur_instruction >> 6) & 31;
|
||||||
unsigned rot_me = (ppc_cur_instruction >> 1) & 31;
|
unsigned rot_me = (ppc_cur_instruction >> 1) & 31;
|
||||||
uint32_t mask = rot_mask(rot_mb, rot_me);
|
uint32_t mask = rot_mask(rot_mb, rot_me);
|
||||||
|
Loading…
Reference in New Issue
Block a user