From efdcfe404fcde6d479e8e7f347e22a53c41f3930 Mon Sep 17 00:00:00 2001 From: lioncash Date: Wed, 4 Jun 2014 12:12:24 -0400 Subject: [PATCH] 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. --- Externals/Bochs_disasm/PowerPCDisasm.h | 5 +++-- Source/Core/DolphinWX/Debugger/RegisterWindow.cpp | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Externals/Bochs_disasm/PowerPCDisasm.h b/Externals/Bochs_disasm/PowerPCDisasm.h index 539f171079..d78186af94 100644 --- a/Externals/Bochs_disasm/PowerPCDisasm.h +++ b/Externals/Bochs_disasm/PowerPCDisasm.h @@ -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 diff --git a/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp b/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp index b34883ea32..f385bf20d0 100644 --- a/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp @@ -16,8 +16,6 @@ class wxWindow; -extern const char* GetGRPName(unsigned int index); - BEGIN_EVENT_TABLE(CRegisterWindow, wxPanel) END_EVENT_TABLE()