diff options
author | bunnei <ericbunnie@gmail.com> | 2014-04-10 19:58:28 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-04-10 19:58:28 -0400 |
commit | f68de21ad1cd267029b60ee3767d219c46f5fba0 (patch) | |
tree | 47d44cfed0c2bd071c75b03a157e7b8a61d85b0d /src/core/core.cpp | |
parent | fccbfc208c53ef6c3424531d8f4a42d3d23b200a (diff) |
added initial modules for setting up SysCall HLE
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 28f6b6c586..acb0a6e82e 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -24,6 +24,24 @@ 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(); } |