diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-10-07 09:56:02 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-10-07 10:26:26 -0400 |
| commit | ee71d707388e4ce2103a0f513bdb181b23d166bc (patch) | |
| tree | 1bea91e5da32e31733588eebfe12328a34141b90 /Source/Core/Common/DebugInterface.h | |
| parent | 3245ca236ae076f5fa08ce6ce72b06d9c30a6ece (diff) | |
DebugInterface: Make GetRawMemoryString return a std::string
Diffstat (limited to 'Source/Core/Common/DebugInterface.h')
| -rw-r--r-- | Source/Core/Common/DebugInterface.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/Common/DebugInterface.h b/Source/Core/Common/DebugInterface.h index 3aa8faec8f..df9944ef23 100644 --- a/Source/Core/Common/DebugInterface.h +++ b/Source/Core/Common/DebugInterface.h @@ -13,10 +13,9 @@ protected: virtual ~DebugInterface() {} public: virtual std::string Disassemble(unsigned int /*address*/) { return "NODEBUGGER"; } - virtual void GetRawMemoryString(int /*memory*/, unsigned int /*address*/, char* dest, - int /*max_size*/) + virtual std::string GetRawMemoryString(int /*memory*/, unsigned int /*address*/) { - strcpy(dest, "NODEBUGGER"); + return "NODEBUGGER"; } virtual int GetInstructionSize(int /*instruction*/) { return 1; } virtual bool IsAlive() { return true; } |
