Skip to content
Permalink
Browse files

Common/DebugInterface: Remove GetInstructionSize()

This is completely unused, so it can be removed.
  • Loading branch information...
lioncash committed Jul 8, 2019
1 parent 92c1782 commit d2d7bf5c3b5f515932ecaea11bb2ac2b15beb3a3
@@ -56,7 +56,6 @@ class DebugInterface
{
return "NODEBUGGER";
}
virtual int GetInstructionSize(int /*instruction*/) { return 1; }
virtual bool IsAlive() const { return true; }
virtual bool IsBreakpoint(u32 /*address*/) const { return false; }
virtual void SetBreakpoint(u32 /*address*/) {}
@@ -54,7 +54,6 @@ class PPCDebugInterface final : public Common::DebugInterface

std::string Disassemble(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 IsBreakpoint(u32 address) const override;
void SetBreakpoint(u32 address) override;
@@ -55,7 +55,6 @@ class DSPDebugInterface final : public Common::DebugInterface

std::string Disassemble(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 IsBreakpoint(u32 address) const override;
void SetBreakpoint(u32 address) override;

0 comments on commit d2d7bf5

Please sign in to comment.
You can’t perform that action at this time.