diff options
author | bunnei <bunneidev@gmail.com> | 2015-07-26 05:12:34 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-07-26 05:12:34 +0200 |
commit | 392c7feba0cd152e46ffbe6089def35082fa2692 (patch) | |
tree | d959d1751d99a6f5307b45d04e46c19c53d5efc2 /src/core/arm/dyncom/arm_dyncom.cpp | |
parent | Merge pull request #989 from lioncash/extern (diff) | |
parent | dyncom: Remove unnecessary initialization code. (diff) | |
download | yuzu-392c7feba0cd152e46ffbe6089def35082fa2692.tar yuzu-392c7feba0cd152e46ffbe6089def35082fa2692.tar.gz yuzu-392c7feba0cd152e46ffbe6089def35082fa2692.tar.bz2 yuzu-392c7feba0cd152e46ffbe6089def35082fa2692.tar.lz yuzu-392c7feba0cd152e46ffbe6089def35082fa2692.tar.xz yuzu-392c7feba0cd152e46ffbe6089def35082fa2692.tar.zst yuzu-392c7feba0cd152e46ffbe6089def35082fa2692.zip |
Diffstat (limited to 'src/core/arm/dyncom/arm_dyncom.cpp')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom.cpp b/src/core/arm/dyncom/arm_dyncom.cpp index 529c4ac70..a51a3acf8 100644 --- a/src/core/arm/dyncom/arm_dyncom.cpp +++ b/src/core/arm/dyncom/arm_dyncom.cpp @@ -6,7 +6,8 @@ #include "common/make_unique.h" -#include "core/arm/skyeye_common/armdefs.h" +#include "core/arm/skyeye_common/armstate.h" +#include "core/arm/skyeye_common/armsupp.h" #include "core/arm/skyeye_common/vfp/vfp.h" #include "core/arm/dyncom/arm_dyncom.h" @@ -19,18 +20,8 @@ ARM_DynCom::ARM_DynCom(PrivilegeMode initial_mode) { state = Common::make_unique<ARMul_State>(); - ARMul_NewState(state.get()); - ARMul_SelectProcessor(state.get(), ARM_v6_Prop | ARM_v5_Prop | ARM_v5e_Prop); - - state->abort_model = ABORT_BASE_RESTORED; - - state->bigendSig = LOW; - state->lateabtSig = LOW; - state->NirqSig = HIGH; - // Reset the core to initial state ARMul_Reset(state.get()); - state->Emulate = RUN; // Switch to the desired privilege mode. switch_mode(state.get(), initial_mode); |