diff --git a/Source/Core/DolphinWX/ControllerConfigDiag.h b/Source/Core/DolphinWX/ControllerConfigDiag.h index 3c6582a5e1..f679992b54 100644 --- a/Source/Core/DolphinWX/ControllerConfigDiag.h +++ b/Source/Core/DolphinWX/ControllerConfigDiag.h @@ -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)