mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Add a stubbed GCAdapter namespace.
This cleans up a bunch of #ifdef checks in places.
This commit is contained in:
parent
af6a5ddafe
commit
6e503bebc4
8 changed files with 38 additions and 33 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue