aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-04-05 15:26:03 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-04-05 15:26:03 -0400
commite022717477184df1268901ee097ed0b358f5a38a (patch)
tree080ce689bbb29c06b18a80e985ef63871bcf7a37 /src/core
parented15feebf1cc60356e374e3492e6086066a7d09e (diff)
added g_app_core->Step and HW::Update to Core::SingleStep to be consistent with other changes made
Diffstat (limited to 'src/core')
-rw-r--r--src/core/src/core.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/src/core.cpp b/src/core/src/core.cpp
index 59280513..4261ff3e 100644
--- a/src/core/src/core.cpp
+++ b/src/core/src/core.cpp
@@ -25,6 +25,7 @@
#include "log.h"
#include "core.h"
#include "mem_map.h"
+#include "hw/hw.h"
#include "arm/disassembler/arm_disasm.h"
#include "arm/interpreter/arm_interpreter.h"
@@ -41,7 +42,8 @@ void RunLoop() {
/// Step the CPU one instruction
void SingleStep() {
- g_app_core->ExecuteInstruction();
+ g_app_core->Step();
+ HW::Update();
}
/// Halt the core
@@ -69,6 +71,8 @@ void Shutdown() {
delete g_disasm;
delete g_app_core;
delete g_sys_core;
+
+ NOTICE_LOG(MASTER_LOG, "Core shutdown OK");
}
} // namespace