2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #334 from lioncash/cpsr

armemu: Fix retrieval of the CPSR in MRS instructions.
This commit is contained in:
bunnei 2014-12-23 09:44:04 -05:00
commit d31a94f06b

View file

@ -1724,7 +1724,7 @@ mainswitch:
TAKEABORT; TAKEABORT;
} else if ((BITS (0, 11) == 0) && (LHSReg == 15)) { /* MRS CPSR */ } else if ((BITS (0, 11) == 0) && (LHSReg == 15)) { /* MRS CPSR */
UNDEF_MRSPC; UNDEF_MRSPC;
DEST = ECC | EINT | EMODE; DEST = ARMul_GetCPSR(state);
} else { } else {
UNDEF_Test; UNDEF_Test;
} }