Fix a typo in a function prototype in PowerPCDisasm.h

Should be GetGPRName not GetGRPName.

Removed an unnecessary extern declaration of GetGRPName in RegisterWindow.cpp.

Also added GetFPRName to the PowerPCDisasm header for consistency.
This commit is contained in:
lioncash 2014-06-04 12:12:24 -04:00
parent 3a06907653
commit efdcfe404f
2 changed files with 3 additions and 4 deletions

View File

@ -22,7 +22,8 @@
#ifndef _POWERPC_DISASM
#define _POWERPC_DISASM
void DisassembleGekko(unsigned int opcode, unsigned int curInstAddr, char *dest, int max_size);
const char *GetGRPName(unsigned int index);
void DisassembleGekko(unsigned int opcode, unsigned int curInstAddr, char* dest, int max_size);
const char* GetGPRName(unsigned int index);
const char* GetFPRName(unsigned int index);
#endif

View File

@ -16,8 +16,6 @@
class wxWindow;
extern const char* GetGRPName(unsigned int index);
BEGIN_EVENT_TABLE(CRegisterWindow, wxPanel)
END_EVENT_TABLE()