mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
Move SI_GCAdapter over to InputCommon
This commit is contained in:
parent
0da8bd0f61
commit
371e9f4fae
12 changed files with 27 additions and 35 deletions
|
@ -11,11 +11,10 @@
|
|||
#include "Common/Logging/LogManager.h"
|
||||
|
||||
#include "Core/ConfigManager.h"
|
||||
#if defined(__LIBUSB__) || defined (_WIN32)
|
||||
#include "Core/HW/SI_GCAdapter.h"
|
||||
#endif
|
||||
#include "Core/HW/Wiimote.h"
|
||||
|
||||
#include "InputCommon/GCAdapter.h"
|
||||
|
||||
#include "UICommon/UICommon.h"
|
||||
|
||||
#include "VideoCommon/VideoBackendBase.h"
|
||||
|
@ -30,7 +29,7 @@ void Init()
|
|||
VideoBackend::PopulateList();
|
||||
WiimoteReal::LoadSettings();
|
||||
#if defined(__LIBUSB__) || defined (_WIN32)
|
||||
SI_GCAdapter::Init();
|
||||
GCAdapter::Init();
|
||||
#endif
|
||||
VideoBackend::ActivateBackend(SConfig::GetInstance().m_strVideoBackend);
|
||||
|
||||
|
@ -40,7 +39,7 @@ void Init()
|
|||
void Shutdown()
|
||||
{
|
||||
#if defined(__LIBUSB__) || defined (_WIN32)
|
||||
SI_GCAdapter::Shutdown();
|
||||
GCAdapter::Shutdown();
|
||||
#endif
|
||||
WiimoteReal::Shutdown();
|
||||
VideoBackend::ClearList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue