summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-05 21:26:03 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-05 21:26:03 +0200
commite022717477184df1268901ee097ed0b358f5a38a (patch)
tree080ce689bbb29c06b18a80e985ef63871bcf7a37 /src
parentchanged hw_lcd to use ARM core correct tick counter instead of [what was actually] just an instruction count. this seems to fix timing issues with the 3DS_Homebrew_Pong3Dv2 demo. (diff)
downloadyuzu-e022717477184df1268901ee097ed0b358f5a38a.tar
yuzu-e022717477184df1268901ee097ed0b358f5a38a.tar.gz
yuzu-e022717477184df1268901ee097ed0b358f5a38a.tar.bz2
yuzu-e022717477184df1268901ee097ed0b358f5a38a.tar.lz
yuzu-e022717477184df1268901ee097ed0b358f5a38a.tar.xz
yuzu-e022717477184df1268901ee097ed0b358f5a38a.tar.zst
yuzu-e022717477184df1268901ee097ed0b358f5a38a.zip
Diffstat (limited to 'src')
-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 592805134..4261ff3ef 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