summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-08 18:33:17 -0400
committerLioncash <mathew1800@gmail.com>2019-07-09 14:19:40 -0400
commitd2d7bf5c3b5f515932ecaea11bb2ac2b15beb3a3 (patch)
tree89c32a7ce388e556cb6d1cc907a18357e4b753ad /Source/Core
parent92c17827267aa2553e11daae3d53d766b54ae5cf (diff)
Common/DebugInterface: Remove GetInstructionSize()
This is completely unused, so it can be removed.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/DebugInterface.h1
-rw-r--r--Source/Core/Core/Debugger/PPCDebugInterface.h1
-rw-r--r--Source/Core/Core/HW/DSPLLE/DSPDebugInterface.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/Source/Core/Common/DebugInterface.h b/Source/Core/Common/DebugInterface.h
index e9ec396b17..fd9d93f8f9 100644
--- a/Source/Core/Common/DebugInterface.h
+++ b/Source/Core/Common/DebugInterface.h
@@ -56,7 +56,6 @@ public:
{
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*/) {}
diff --git a/Source/Core/Core/Debugger/PPCDebugInterface.h b/Source/Core/Core/Debugger/PPCDebugInterface.h
index a12f6ef00f..54b4f7e867 100644
--- a/Source/Core/Core/Debugger/PPCDebugInterface.h
+++ b/Source/Core/Core/Debugger/PPCDebugInterface.h
@@ -54,7 +54,6 @@ public:
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;
diff --git a/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.h b/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.h
index 3dcba99005..078b3299c6 100644
--- a/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.h
+++ b/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.h
@@ -55,7 +55,6 @@ public:
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;