summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp9
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() {
56 56
57/// Initialize the core 57/// Initialize the core
58int Init() { 58int Init() {
59 LOG_DEBUG(Core, "initialized OK"); 59 g_sys_core = new ARM_DynCom(USER32MODE);
60 60 g_app_core = new ARM_DynCom(USER32MODE);
61 g_sys_core = new ARM_DynCom();
62 g_app_core = new ARM_DynCom();
63 61
62 LOG_DEBUG(Core, "Initialized OK");
64 return 0; 63 return 0;
65} 64}
66 65
@@ -68,7 +67,7 @@ void Shutdown() {
68 delete g_app_core; 67 delete g_app_core;
69 delete g_sys_core; 68 delete g_sys_core;
70 69
71 LOG_DEBUG(Core, "shutdown OK"); 70 LOG_DEBUG(Core, "Shutdown OK");
72} 71}
73 72
74} // namespace 73} // namespace