From 440efaa5f5449f10e5db20b73bbe2a07a087c7d1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 9 Mar 2014 13:00:51 -0400 Subject: [PATCH] Fix DSPTool. Forgot to adjust the stubs. --- Source/DSPTool/DSPTool.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Source/DSPTool/DSPTool.cpp b/Source/DSPTool/DSPTool.cpp index a81e95178c..8b556942ec 100644 --- a/Source/DSPTool/DSPTool.cpp +++ b/Source/DSPTool/DSPTool.cpp @@ -6,17 +6,18 @@ #include "Common/FileUtil.h" #include "Common/StringUtil.h" #include "Core/DSP/DSPCodeUtil.h" +#include "Core/DSP/DSPHost.h" #include "Core/DSP/DSPTables.h" // Stub out the dsplib host stuff, since this is just a simple cmdline tools. -u8 DSPHost_ReadHostMemory(u32 addr) { return 0; } -void DSPHost_WriteHostMemory(u8 value, u32 addr) {} -void DSPHost_OSD_AddMessage(const std::string& str, u32 ms) {} -bool DSPHost_OnThread() { return false; } -bool DSPHost_Wii() { return false; } -void DSPHost_CodeLoaded(const u8 *ptr, int size) {} -void DSPHost_InterruptRequest() {} -void DSPHost_UpdateDebugger() {} +u8 DSPHost::ReadHostMemory(u32 addr) { return 0; } +void DSPHost::WriteHostMemory(u8 value, u32 addr) {} +void DSPHost::OSD_AddMessage(const std::string& str, u32 ms) {} +bool DSPHost::OnThread() { return false; } +bool DSPHost::IsWiiHost() { return false; } +void DSPHost::CodeLoaded(const u8 *ptr, int size) {} +void DSPHost::InterruptRequest() {} +void DSPHost::UpdateDebugger() {} // This test goes from text ASM to binary to text ASM and once again back to binary. // Then the two binaries are compared.