mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
(cleanup) Delete an awful global variable (g_plugin in ConfigDiag). Rename the Plugin class in InputConfig to InputPlugin, which is better but not ideal.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5663 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
#endif
|
||||
|
||||
// plugin globals
|
||||
static Plugin g_plugin( "WiimoteNew", "Wiimote", "Wiimote" );
|
||||
static InputPlugin g_plugin( "WiimoteNew", "Wiimote", "Wiimote" );
|
||||
SWiimoteInitialize g_WiimoteInitialize;
|
||||
|
||||
#ifdef _WIN32
|
||||
@ -257,7 +257,7 @@ void DllConfig(HWND _hParent)
|
||||
|
||||
// copied from GCPad
|
||||
wxWindow *frame = GetParentedWxWindow(_hParent);
|
||||
ConfigDialog* m_ConfigFrame = new ConfigDialog( frame, g_plugin, PLUGIN_FULL_NAME, was_init );
|
||||
InputConfigDialog* m_ConfigFrame = new InputConfigDialog( frame, g_plugin, PLUGIN_FULL_NAME, was_init );
|
||||
|
||||
#ifdef _WIN32
|
||||
frame->Disable();
|
||||
|
Reference in New Issue
Block a user