summaryrefslogtreecommitdiff
path: root/Source/Core/Common/DebugInterface.h
diff options
context:
space:
mode:
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;}