diff options
| author | 2014-04-10 19:58:28 -0400 | |
|---|---|---|
| committer | 2014-04-10 19:58:28 -0400 | |
| commit | f68de21ad1cd267029b60ee3767d219c46f5fba0 (patch) | |
| tree | 47d44cfed0c2bd071c75b03a157e7b8a61d85b0d /src/core/core.cpp | |
| parent | missed this file with commit 95e5436f (diff) | |
| download | yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.tar.gz yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.tar.xz yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.zip | |
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 28f6b6c58..acb0a6e82 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -24,6 +24,24 @@ void RunLoop() { | |||
| 24 | 24 | ||
| 25 | /// Step the CPU one instruction | 25 | /// Step the CPU one instruction |
| 26 | void SingleStep() { | 26 | void SingleStep() { |
| 27 | |||
| 28 | char current_instr[512]; | ||
| 29 | |||
| 30 | if (g_app_core->GetPC() == 0x080D1534) { | ||
| 31 | g_disasm->disasm(g_app_core->GetPC(), Memory::Read32(g_app_core->GetPC()), current_instr); | ||
| 32 | |||
| 33 | |||
| 34 | NOTICE_LOG(ARM11, "0x%08X 0x%08X 0x%08X 0x%08X 0x%08X 0x%08X", | ||
| 35 | g_app_core->GetReg(0), | ||
| 36 | g_app_core->GetReg(1), | ||
| 37 | g_app_core->GetReg(2), | ||
| 38 | g_app_core->GetReg(3), Memory::Read32(g_app_core->GetReg(0)), Memory::Read32(g_app_core->GetReg(1))); | ||
| 39 | |||
| 40 | |||
| 41 | NOTICE_LOG(ARM11, "0x%08X\t%s", g_app_core->GetPC(), current_instr); | ||
| 42 | } | ||
| 43 | |||
| 44 | |||
| 27 | g_app_core->Step(); | 45 | g_app_core->Step(); |
| 28 | HW::Update(); | 46 | HW::Update(); |
| 29 | } | 47 | } |