summaryrefslogtreecommitdiff
path: root/src/core/arm/dyncom
diff options
context:
space:
mode:
authorGravatar Lioncash2015-07-25 21:55:52 -0400
committerGravatar Lioncash2015-07-25 22:10:54 -0400
commit03213f893e7f2cbd692144334ac72d9138fd5e70 (patch)
treed959d1751d99a6f5307b45d04e46c19c53d5efc2 /src/core/arm/dyncom
parentdyncom: Remove unnecessary abort-related cruft (diff)
downloadyuzu-03213f893e7f2cbd692144334ac72d9138fd5e70.tar.gz
yuzu-03213f893e7f2cbd692144334ac72d9138fd5e70.tar.xz
yuzu-03213f893e7f2cbd692144334ac72d9138fd5e70.zip
dyncom: Remove unnecessary initialization code.
Targeting ARM version variants was only a thing on armemu. The reset routine also does basically the same thing as NewState.
Diffstat (limited to 'src/core/arm/dyncom')
-rw-r--r--src/core/arm/dyncom/arm_dyncom.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom.cpp b/src/core/arm/dyncom/arm_dyncom.cpp
index 8d4a7dd98..a51a3acf8 100644
--- a/src/core/arm/dyncom/arm_dyncom.cpp
+++ b/src/core/arm/dyncom/arm_dyncom.cpp
@@ -20,15 +20,8 @@
20ARM_DynCom::ARM_DynCom(PrivilegeMode initial_mode) { 20ARM_DynCom::ARM_DynCom(PrivilegeMode initial_mode) {
21 state = Common::make_unique<ARMul_State>(); 21 state = Common::make_unique<ARMul_State>();
22 22
23 ARMul_NewState(state.get());
24 ARMul_SelectProcessor(state.get(), ARM_v6_Prop | ARM_v5_Prop | ARM_v5e_Prop);
25
26 state->bigendSig = LOW;
27 state->NirqSig = HIGH;
28
29 // Reset the core to initial state 23 // Reset the core to initial state
30 ARMul_Reset(state.get()); 24 ARMul_Reset(state.get());
31 state->Emulate = RUN;
32 25
33 // Switch to the desired privilege mode. 26 // Switch to the desired privilege mode.
34 switch_mode(state.get(), initial_mode); 27 switch_mode(state.get(), initial_mode);