summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-11 04:45:40 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-11 04:45:40 +0200
commit5d95bb98434b8e7cd67010f6064ccdb69c1222bb (patch)
tree5d4c4f1b10d37e2619322a7f837883d61b1d2865 /src/core/core.cpp
parentadded logger for generic HLE (diff)
downloadyuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar
yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar.gz
yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar.bz2
yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar.lz
yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar.xz
yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar.zst
yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.zip
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index acb0a6e82..859a62c78 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -24,24 +24,6 @@ void RunLoop() {
/// Step the CPU one instruction
void SingleStep() {
-
- char current_instr[512];
-
- if (g_app_core->GetPC() == 0x080D1534) {
- g_disasm->disasm(g_app_core->GetPC(), Memory::Read32(g_app_core->GetPC()), current_instr);
-
-
- NOTICE_LOG(ARM11, "0x%08X 0x%08X 0x%08X 0x%08X 0x%08X 0x%08X",
- g_app_core->GetReg(0),
- g_app_core->GetReg(1),
- g_app_core->GetReg(2),
- g_app_core->GetReg(3), Memory::Read32(g_app_core->GetReg(0)), Memory::Read32(g_app_core->GetReg(1)));
-
-
- NOTICE_LOG(ARM11, "0x%08X\t%s", g_app_core->GetPC(), current_instr);
- }
-
-
g_app_core->Step();
HW::Update();
}
@@ -58,7 +40,7 @@ void Stop() {
/// Initialize the core
int Init() {
- NOTICE_LOG(MASTER_LOG, "Core initialized OK");
+ NOTICE_LOG(MASTER_LOG, "initialized OK");
g_disasm = new ARM_Disasm();
g_app_core = new ARM_Interpreter();
@@ -72,7 +54,7 @@ void Shutdown() {
delete g_app_core;
delete g_sys_core;
- NOTICE_LOG(MASTER_LOG, "Core shutdown OK");
+ NOTICE_LOG(MASTER_LOG, "shutdown OK");
}
} // namespace