poweropcodes: Fix maskg.

The condition code register depends on rA, not rD since rA contains the result.
This commit is contained in:
joevt 2024-04-09 01:58:55 -07:00 committed by dingusdev
parent c71d856a08
commit ef8522e101
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}