From 675e9845147243011036d1639682dab1452925cb Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 24 Jan 2010 18:29:50 +0000 Subject: [PATCH] fix issue caused by r4941: ppc debugger would think the instruction size was 0, which is rarely a good thing git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4952 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/Debugger/PPCDebugInterface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/Debugger/PPCDebugInterface.h b/Source/Core/Core/Src/Debugger/PPCDebugInterface.h index e849ecd185..9a72c8e572 100644 --- a/Source/Core/Core/Src/Debugger/PPCDebugInterface.h +++ b/Source/Core/Core/Src/Debugger/PPCDebugInterface.h @@ -13,7 +13,7 @@ public: PPCDebugInterface(){} virtual void disasm(unsigned int address, char *dest, int max_size); virtual void getRawMemoryString(int memory, unsigned int address, char *dest, int max_size); - virtual int getInstructionSize(int inst_size = 4) {return inst_size;} + virtual int getInstructionSize(int /*instruction*/) {return 4;} virtual bool isAlive(); virtual bool isBreakpoint(unsigned int address); virtual void setBreakpoint(unsigned int address); @@ -38,4 +38,4 @@ public: virtual void showJitResults(u32 address); }; -#endif +#endif \ No newline at end of file