mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
DebugInterface: Make GetRawMemoryString return a std::string
This commit is contained in:
parent
3245ca236a
commit
ee71d70738
6 changed files with 30 additions and 44 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue