Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #150 from lioncash/namespaces

Fix DSPTool compilation with the new namespace.
  • Loading branch information...
commit d71aef8843afd91cb5c8deb6111acd1e6d431531 2 parents 5361527 + 440efaa
Pierre Bourdon authored

Showing 1 changed file with 9 additions and 8 deletions. Show Diff Stats Hide Diff Stats

  1. 17  Source/DSPTool/DSPTool.cpp
17  Source/DSPTool/DSPTool.cpp
@@ -6,17 +6,18 @@
6 6
 #include "Common/FileUtil.h"
7 7
 #include "Common/StringUtil.h"
8 8
 #include "Core/DSP/DSPCodeUtil.h"
  9
+#include "Core/DSP/DSPHost.h"
9 10
 #include "Core/DSP/DSPTables.h"
10 11
 
11 12
 // Stub out the dsplib host stuff, since this is just a simple cmdline tools.
12  
-u8 DSPHost_ReadHostMemory(u32 addr) { return 0; }
13  
-void DSPHost_WriteHostMemory(u8 value, u32 addr) {}
14  
-void DSPHost_OSD_AddMessage(const std::string& str, u32 ms) {}
15  
-bool DSPHost_OnThread() { return false; }
16  
-bool DSPHost_Wii() { return false; }
17  
-void DSPHost_CodeLoaded(const u8 *ptr, int size) {}
18  
-void DSPHost_InterruptRequest() {}
19  
-void DSPHost_UpdateDebugger() {}
  13
+u8 DSPHost::ReadHostMemory(u32 addr) { return 0; }
  14
+void DSPHost::WriteHostMemory(u8 value, u32 addr) {}
  15
+void DSPHost::OSD_AddMessage(const std::string& str, u32 ms) {}
  16
+bool DSPHost::OnThread() { return false; }
  17
+bool DSPHost::IsWiiHost() { return false; }
  18
+void DSPHost::CodeLoaded(const u8 *ptr, int size) {}
  19
+void DSPHost::InterruptRequest() {}
  20
+void DSPHost::UpdateDebugger() {}
20 21
 
21 22
 // This test goes from text ASM to binary to text ASM and once again back to binary.
22 23
 // Then the two binaries are compared.

0 notes on commit d71aef8

Please sign in to comment.
Something went wrong with that request. Please try again.