mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinWX: Fix build if libusb is disabled
This commit is contained in:
@ -73,10 +73,12 @@ private:
|
||||
void OnGameCubeAdapter(wxCommandEvent& event)
|
||||
{
|
||||
SConfig::GetInstance().m_GameCubeAdapter = event.IsChecked();
|
||||
#ifdef __LIBUSB__
|
||||
if (event.IsChecked())
|
||||
SI_GCAdapter::StartScanThread();
|
||||
else
|
||||
SI_GCAdapter::StopScanThread();
|
||||
#endif
|
||||
event.Skip();
|
||||
}
|
||||
void OnAdapterRumble(wxCommandEvent& event)
|
||||
|
Reference in New Issue
Block a user