Common/DebugInterface: Remove GetInstructionSize()
This is completely unused, so it can be removed.
This commit is contained in:
parent
92c1782726
commit
d2d7bf5c3b
|
@ -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*/) {}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue