mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Port to *BSD. It runs but isn't terribly useful without Cg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5934 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -76,8 +76,10 @@ WiimoteBasicConfigDialog::WiimoteBasicConfigDialog(wxWindow *parent, wxWindowID
|
||||
ControlsCreated = false;
|
||||
m_Page = 0;
|
||||
|
||||
#if defined HAVE_WIIUSE && HAVE_WIIUSE
|
||||
// Initialize the Real WiiMotes here, so we get a count of how many were found and set everything properly
|
||||
WiiMoteReal::Initialize();
|
||||
#endif
|
||||
|
||||
CreateGUIControls();
|
||||
UpdateGUI();
|
||||
@ -93,7 +95,9 @@ void WiimoteBasicConfigDialog::ButtonClick(wxCommandEvent& event)
|
||||
switch(event.GetId())
|
||||
{
|
||||
case wxID_OK:
|
||||
#if defined HAVE_WIIUSE && HAVE_WIIUSE
|
||||
WiiMoteReal::Allocate();
|
||||
#endif
|
||||
g_Config.Save();
|
||||
Close();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user