armemu: Fix construction of the CPSR
This commit is contained in:
parent
2188af4a65
commit
8e2accd974
4 changed files with 54 additions and 15 deletions
|
@ -227,8 +227,9 @@ ARMul_CPSRAltered (ARMul_State * state)
|
|||
//state->Cpsr &= ~CBIT;
|
||||
ASSIGNV ((state->Cpsr & VBIT) != 0);
|
||||
//state->Cpsr &= ~VBIT;
|
||||
ASSIGNS ((state->Cpsr & SBIT) != 0);
|
||||
//state->Cpsr &= ~SBIT;
|
||||
ASSIGNQ ((state->Cpsr & QBIT) != 0);
|
||||
//state->Cpsr &= ~QBIT;
|
||||
state->GEFlag = (state->Cpsr & 0x000F0000);
|
||||
#ifdef MODET
|
||||
ASSIGNT ((state->Cpsr & TBIT) != 0);
|
||||
//state->Cpsr &= ~TBIT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue