mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 06:17:34 +01:00
armemu: Fix SEL
Needs to use the updated state of the CPSR.
This commit is contained in:
parent
8e2accd974
commit
f66d356938
@ -6153,7 +6153,7 @@ L_stm_s_takeabort:
|
|||||||
u32 rm = (instr >> 0) & 0xF;
|
u32 rm = (instr >> 0) & 0xF;
|
||||||
u32 from = state->Reg[rn];
|
u32 from = state->Reg[rn];
|
||||||
u32 to = state->Reg[rm];
|
u32 to = state->Reg[rm];
|
||||||
u32 cpsr = state->Cpsr;
|
u32 cpsr = ARMul_GetCPSR(state);
|
||||||
if ((instr & 0xFF0) == 0xFB0) { // SEL
|
if ((instr & 0xFF0) == 0xFB0) { // SEL
|
||||||
u32 result;
|
u32 result;
|
||||||
if (cpsr & (1 << 16))
|
if (cpsr & (1 << 16))
|
||||||
|
Loading…
Reference in New Issue
Block a user