mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -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;
|
||||
|
@ -36,4 +36,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
#include "WiimoteEmu.h"
|
||||
|
||||
#ifdef USE_WIIMOTE_EMU_SPEAKER
|
||||
@ -36,4 +35,4 @@ void Wiimote::SpeakerData(wm_speaker_data* sd)
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user