From d2d7bf5c3b5f515932ecaea11bb2ac2b15beb3a3 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 8 Jul 2019 18:33:17 -0400 Subject: [PATCH] Common/DebugInterface: Remove GetInstructionSize() This is completely unused, so it can be removed. --- Source/Core/Common/DebugInterface.h | 1 - Source/Core/Core/Debugger/PPCDebugInterface.h | 1 - Source/Core/Core/HW/DSPLLE/DSPDebugInterface.h | 1 - 3 files changed, 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;