diff options
| author | 2014-04-10 22:45:40 -0400 | |
|---|---|---|
| committer | 2014-04-10 22:45:40 -0400 | |
| commit | 5d95bb98434b8e7cd67010f6064ccdb69c1222bb (patch) | |
| tree | 5d4c4f1b10d37e2619322a7f837883d61b1d2865 /src/core/core.cpp | |
| parent | added logger for generic HLE (diff) | |
| download | yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar.gz yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar.xz yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.zip | |
cleaned up some logging messages
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 22 |
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() { | |||
| 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 | |||
| 45 | g_app_core->Step(); | 27 | g_app_core->Step(); |
| 46 | HW::Update(); | 28 | HW::Update(); |
| 47 | } | 29 | } |
| @@ -58,7 +40,7 @@ void Stop() { | |||
| 58 | 40 | ||
| 59 | /// Initialize the core | 41 | /// Initialize the core |
| 60 | int Init() { | 42 | int Init() { |
| 61 | NOTICE_LOG(MASTER_LOG, "Core initialized OK"); | 43 | NOTICE_LOG(MASTER_LOG, "initialized OK"); |
| 62 | 44 | ||
| 63 | g_disasm = new ARM_Disasm(); | 45 | g_disasm = new ARM_Disasm(); |
| 64 | g_app_core = new ARM_Interpreter(); | 46 | g_app_core = new ARM_Interpreter(); |
| @@ -72,7 +54,7 @@ void Shutdown() { | |||
| 72 | delete g_app_core; | 54 | delete g_app_core; |
| 73 | delete g_sys_core; | 55 | delete g_sys_core; |
| 74 | 56 | ||
| 75 | NOTICE_LOG(MASTER_LOG, "Core shutdown OK"); | 57 | NOTICE_LOG(MASTER_LOG, "shutdown OK"); |
| 76 | } | 58 | } |
| 77 | 59 | ||
| 78 | } // namespace | 60 | } // namespace |