mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 05:36:42 +00:00
armemu: Fix retrieval of the CPSR in MRS instructions.
This commit is contained in:
parent
2188af4a65
commit
8c72322422
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue