mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-16 06:29:31 +00:00
poweropcodes: Fix maskg.
The condition code register depends on rA, not rD since rA contains the result.
This commit is contained in:
parent
c71d856a08
commit
ef8522e101
|
@ -281,7 +281,7 @@ void dppc_interpreter::power_maskg() {
|
|||
ppc_result_a = insert_mask;
|
||||
|
||||
if (rec)
|
||||
ppc_changecrf0(ppc_result_d);
|
||||
ppc_changecrf0(ppc_result_a);
|
||||
|
||||
ppc_store_iresult_reg(reg_a, ppc_result_a);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user