mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Add a stubbed GCAdapter namespace.
This cleans up a bunch of #ifdef checks in places.
This commit is contained in:
@ -28,9 +28,7 @@ void Init()
|
||||
SConfig::Init();
|
||||
VideoBackend::PopulateList();
|
||||
WiimoteReal::LoadSettings();
|
||||
#if defined(__LIBUSB__) || defined (_WIN32)
|
||||
GCAdapter::Init();
|
||||
#endif
|
||||
VideoBackend::ActivateBackend(SConfig::GetInstance().m_strVideoBackend);
|
||||
|
||||
SetEnableAlert(SConfig::GetInstance().bUsePanicHandlers);
|
||||
@ -38,9 +36,7 @@ void Init()
|
||||
|
||||
void Shutdown()
|
||||
{
|
||||
#if defined(__LIBUSB__) || defined (_WIN32)
|
||||
GCAdapter::Shutdown();
|
||||
#endif
|
||||
WiimoteReal::Shutdown();
|
||||
VideoBackend::ClearList();
|
||||
SConfig::Shutdown();
|
||||
|
Reference in New Issue
Block a user