Common/DebugInterface: Remove GetInstructionSize()

This is completely unused, so it can be removed.
This commit is contained in:
Lioncash 2019-07-08 18:33:17 -04:00
parent 92c1782726
commit d2d7bf5c3b
3 changed files with 0 additions and 3 deletions

View File

@ -56,7 +56,6 @@ public:
{ {
return "NODEBUGGER"; return "NODEBUGGER";
} }
virtual int GetInstructionSize(int /*instruction*/) { return 1; }
virtual bool IsAlive() const { return true; } virtual bool IsAlive() const { return true; }
virtual bool IsBreakpoint(u32 /*address*/) const { return false; } virtual bool IsBreakpoint(u32 /*address*/) const { return false; }
virtual void SetBreakpoint(u32 /*address*/) {} virtual void SetBreakpoint(u32 /*address*/) {}

View File

@ -54,7 +54,6 @@ public:
std::string Disassemble(u32 address) const override; std::string Disassemble(u32 address) const override;
std::string GetRawMemoryString(int memory, u32 address) const override; std::string GetRawMemoryString(int memory, u32 address) const override;
int GetInstructionSize(int /*instruction*/) override { return 4; }
bool IsAlive() const override; bool IsAlive() const override;
bool IsBreakpoint(u32 address) const override; bool IsBreakpoint(u32 address) const override;
void SetBreakpoint(u32 address) override; void SetBreakpoint(u32 address) override;

View File

@ -55,7 +55,6 @@ public:
std::string Disassemble(u32 address) const override; std::string Disassemble(u32 address) const override;
std::string GetRawMemoryString(int memory, u32 address) const override; std::string GetRawMemoryString(int memory, u32 address) const override;
int GetInstructionSize(int instruction) override { return 1; }
bool IsAlive() const override; bool IsAlive() const override;
bool IsBreakpoint(u32 address) const override; bool IsBreakpoint(u32 address) const override;
void SetBreakpoint(u32 address) override; void SetBreakpoint(u32 address) override;