diff options
author | bunnei <bunneidev@gmail.com> | 2015-02-12 23:18:40 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-02-12 23:18:40 -0500 |
commit | 9b69079c835352fd7727e89624accb5115d35d36 (patch) | |
tree | 9b1f0a7cf06bde6cbaac3230fbdbba824e7fcdfc /src/core/core.cpp | |
parent | 209ab46baeb7a272ee12b0a5843982e6e71b0fe0 (diff) | |
parent | b7fac494cdda9efb65168b116b1673af4ab9f242 (diff) |
Merge pull request #569 from lioncash/modeswitch
Dyncom: Correctly set the ARM modes on dyncom initialization.
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 63be27be2..15787bc17 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -56,11 +56,10 @@ void Stop() { /// Initialize the core int Init() { - LOG_DEBUG(Core, "initialized OK"); - - g_sys_core = new ARM_DynCom(); - g_app_core = new ARM_DynCom(); + g_sys_core = new ARM_DynCom(USER32MODE); + g_app_core = new ARM_DynCom(USER32MODE); + LOG_DEBUG(Core, "Initialized OK"); return 0; } @@ -68,7 +67,7 @@ void Shutdown() { delete g_app_core; delete g_sys_core; - LOG_DEBUG(Core, "shutdown OK"); + LOG_DEBUG(Core, "Shutdown OK"); } } // namespace |