diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2016-10-08 10:48:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-08 10:48:45 +0200 |
| commit | 0e5fc56bc9f38f4b0c798543e47e0bad15a0a477 (patch) | |
| tree | 8fcbe33bd5436748a543d823dade1d806b2af8c6 /Source/Core/Common/DebugInterface.h | |
| parent | 1a2d71cb58afcafbfca4f8457c4f0c2e22d8d2a3 (diff) | |
| parent | ee71d707388e4ce2103a0f513bdb181b23d166bc (diff) | |
Merge pull request #4316 from lioncash/debug
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; } |
