mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Add USB passthrough setting and USBUtils
This adds a USB passthrough setting to ConfigManager and everything needed for the UI to show and manage the whitelist properly.
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
#include "InputCommon/GCAdapter.h"
|
||||
|
||||
#include "UICommon/UICommon.h"
|
||||
#include "UICommon/USBUtils.h"
|
||||
|
||||
#include "VideoCommon/VideoBackendBase.h"
|
||||
|
||||
@ -29,6 +30,7 @@ void Init()
|
||||
VideoBackendBase::PopulateList();
|
||||
WiimoteReal::LoadSettings();
|
||||
GCAdapter::Init();
|
||||
USBUtils::Init();
|
||||
VideoBackendBase::ActivateBackend(SConfig::GetInstance().m_strVideoBackend);
|
||||
|
||||
SetEnableAlert(SConfig::GetInstance().bUsePanicHandlers);
|
||||
@ -40,6 +42,7 @@ void Shutdown()
|
||||
WiimoteReal::Shutdown();
|
||||
VideoBackendBase::ClearList();
|
||||
SConfig::Shutdown();
|
||||
USBUtils::Shutdown();
|
||||
LogManager::Shutdown();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user