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
This commit is contained in:
Shawn Hoffman 2010-01-24 18:29:50 +00:00
parent b17c5f3cf3
commit 675e984514

View File

@ -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