summaryrefslogtreecommitdiff
path: root/Source/Core/Common/DebugInterface.h
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-08-03 21:52:08 -0700
committerPierre Bourdon <delroth@gmail.com>2014-08-03 21:52:08 -0700
commit6befa34b609797b4c48dd45b0f0a7adeba8d8a40 (patch)
tree869ff351cb9a9b4115518da6be8837b9846d9e67 /Source/Core/Common/DebugInterface.h
parent05a9f5b07abfbb41954b977652e7d11000ea9fae (diff)
parent0718937237db22d26e1b764b4733645c2b9f1562 (diff)
Merge pull request #647 from lioncash/disasm
Common: Introduce the new Gekko disassembler to Common.
Diffstat (limited to 'Source/Core/Common/DebugInterface.h')
-rw-r--r--Source/Core/Common/DebugInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/DebugInterface.h b/Source/Core/Common/DebugInterface.h
index 26e0a3e2ee..96b4eec275 100644
--- a/Source/Core/Common/DebugInterface.h
+++ b/Source/Core/Common/DebugInterface.h
@@ -9,7 +9,7 @@ protected:
virtual ~DebugInterface() {}
public:
- virtual void Disassemble(unsigned int /*address*/, char *dest, int /*max_size*/) {strcpy(dest, "NODEBUGGER");}
+ virtual std::string Disassemble(unsigned int /*address*/) { return "NODEBUGGER"; }
virtual void GetRawMemoryString(int /*memory*/, unsigned int /*address*/, char *dest, int /*max_size*/) {strcpy(dest, "NODEBUGGER");}
virtual int GetInstructionSize(int /*instruction*/) {return 1;}
virtual bool IsAlive() {return true;}