diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/src/core.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/src/core.cpp b/src/core/src/core.cpp index 592805134..4261ff3ef 100644 --- a/src/core/src/core.cpp +++ b/src/core/src/core.cpp | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | #include "log.h" | 25 | #include "log.h" |
| 26 | #include "core.h" | 26 | #include "core.h" |
| 27 | #include "mem_map.h" | 27 | #include "mem_map.h" |
| 28 | #include "hw/hw.h" | ||
| 28 | #include "arm/disassembler/arm_disasm.h" | 29 | #include "arm/disassembler/arm_disasm.h" |
| 29 | #include "arm/interpreter/arm_interpreter.h" | 30 | #include "arm/interpreter/arm_interpreter.h" |
| 30 | 31 | ||
| @@ -41,7 +42,8 @@ void RunLoop() { | |||
| 41 | 42 | ||
| 42 | /// Step the CPU one instruction | 43 | /// Step the CPU one instruction |
| 43 | void SingleStep() { | 44 | void SingleStep() { |
| 44 | g_app_core->ExecuteInstruction(); | 45 | g_app_core->Step(); |
| 46 | HW::Update(); | ||
| 45 | } | 47 | } |
| 46 | 48 | ||
| 47 | /// Halt the core | 49 | /// Halt the core |
| @@ -69,6 +71,8 @@ void Shutdown() { | |||
| 69 | delete g_disasm; | 71 | delete g_disasm; |
| 70 | delete g_app_core; | 72 | delete g_app_core; |
| 71 | delete g_sys_core; | 73 | delete g_sys_core; |
| 74 | |||
| 75 | NOTICE_LOG(MASTER_LOG, "Core shutdown OK"); | ||
| 72 | } | 76 | } |
| 73 | 77 | ||
| 74 | } // namespace | 78 | } // namespace |