Skip to content

Commit

Permalink
Merge pull request #150 from lioncash/namespaces
Browse files Browse the repository at this point in the history
Fix DSPTool compilation with the new namespace.
  • Loading branch information
delroth committed Mar 9, 2014
2 parents 5361527 + 440efaa commit d71aef8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Source/DSPTool/DSPTool.cpp
Expand Up @@ -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.
Expand Down

0 comments on commit d71aef8

Please sign in to comment.