summaryrefslogtreecommitdiffstats
path: root/src/core/arm/interpreter
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-02-11 18:02:35 +0100
committerbunnei <bunneidev@gmail.com>2015-02-11 18:02:35 +0100
commitc51b23b0525d9838e34fa3e008234da658224dad (patch)
treeaa0bc7f953503ac71424f928792ff9fd641f16ac /src/core/arm/interpreter
parentMerge pull request #500 from archshift/assert (diff)
parentarm: Get rid of some magic constants. Specify proper ARM mode. (diff)
downloadyuzu-c51b23b0525d9838e34fa3e008234da658224dad.tar
yuzu-c51b23b0525d9838e34fa3e008234da658224dad.tar.gz
yuzu-c51b23b0525d9838e34fa3e008234da658224dad.tar.bz2
yuzu-c51b23b0525d9838e34fa3e008234da658224dad.tar.lz
yuzu-c51b23b0525d9838e34fa3e008234da658224dad.tar.xz
yuzu-c51b23b0525d9838e34fa3e008234da658224dad.tar.zst
yuzu-c51b23b0525d9838e34fa3e008234da658224dad.zip
Diffstat (limited to 'src/core/arm/interpreter')
-rw-r--r--src/core/arm/interpreter/arminit.cpp2
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)
for (unsigned int i = 0; i < 7; i++)
state->Spsr[i] = 0;
- state->Mode = 0;
+ state->Mode = USER32MODE;
state->VectorCatch = 0;
state->Aborted = false;