a32_emit_x64: EmitA32SetCpsr: Correct cpsr_jaifm mask
This commit is contained in:
parent
23c23fbca3
commit
5086432f19
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ void A32EmitX64::EmitA32SetCpsr(A32EmitContext& ctx, IR::Inst* inst) {
|
||||||
|
|
||||||
// cpsr_jaifm
|
// cpsr_jaifm
|
||||||
code.mov(tmp, cpsr);
|
code.mov(tmp, cpsr);
|
||||||
code.and_(tmp, 0x07F0FDDF);
|
code.and_(tmp, 0x010001DF);
|
||||||
code.mov(dword[r15 + offsetof(A32JitState, cpsr_jaifm)], tmp);
|
code.mov(dword[r15 + offsetof(A32JitState, cpsr_jaifm)], tmp);
|
||||||
|
|
||||||
if (code.HasHostFeature(HostFeature::FastBMI2)) {
|
if (code.HasHostFeature(HostFeature::FastBMI2)) {
|
||||||
|
|
Loading…
Reference in a new issue