diff options
| author | 2015-02-11 10:49:48 -0500 | |
|---|---|---|
| committer | 2015-02-11 10:49:55 -0500 | |
| commit | c94c41f95ac5e465671cd3d1865bcd5b03e98d65 (patch) | |
| tree | 5a3675b5c8e70b316193761a0b27093b255352d2 /src/core/arm/interpreter/arminit.cpp | |
| parent | arm: Change some more constants into enums (diff) | |
| download | yuzu-c94c41f95ac5e465671cd3d1865bcd5b03e98d65.tar.gz yuzu-c94c41f95ac5e465671cd3d1865bcd5b03e98d65.tar.xz yuzu-c94c41f95ac5e465671cd3d1865bcd5b03e98d65.zip | |
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.
Diffstat (limited to 'src/core/arm/interpreter/arminit.cpp')
| -rw-r--r-- | src/core/arm/interpreter/arminit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/interpreter/arminit.cpp b/src/core/arm/interpreter/arminit.cpp index 7b502e240..b7dd5e38d 100644 --- a/src/core/arm/interpreter/arminit.cpp +++ b/src/core/arm/interpreter/arminit.cpp | |||
| @@ -74,7 +74,7 @@ ARMul_State* ARMul_NewState(ARMul_State* state) | |||
| 74 | for (unsigned int i = 0; i < 7; i++) | 74 | for (unsigned int i = 0; i < 7; i++) |
| 75 | state->Spsr[i] = 0; | 75 | state->Spsr[i] = 0; |
| 76 | 76 | ||
| 77 | state->Mode = 0; | 77 | state->Mode = USER32MODE; |
| 78 | 78 | ||
| 79 | state->VectorCatch = 0; | 79 | state->VectorCatch = 0; |
| 80 | state->Aborted = false; | 80 | state->Aborted = false; |