DebugInterface: Make GetRawMemoryString return a std::string

This commit is contained in:
Lioncash
2016-10-07 09:56:02 -04:00
parent 3245ca236a
commit ee71d70738
6 changed files with 30 additions and 44 deletions

View File

@ -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; }