arm: Get rid of some magic constants. Specify proper ARM mode.
Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE.
This commit is contained in:
parent
93cd199633
commit
c94c41f95a
3 changed files with 10 additions and 3 deletions
|
@ -74,7 +74,7 @@ ARMul_State* ARMul_NewState(ARMul_State* state)
|
|||
for (unsigned int i = 0; i < 7; i++)
|
||||
state->Spsr[i] = 0;
|
||||
|
||||
state->Mode = 0;
|
||||
state->Mode = USER32MODE;
|
||||
|
||||
state->VectorCatch = 0;
|
||||
state->Aborted = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue