From f0eeb3c63ac49b9f4b9dd837038b00caeefdcb01 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 16 Mar 2017 04:41:36 -0400 Subject: SI: Namespace device classes Places all of the SI code under the SerialInterface namespace instead of only the main source file. This keeps all SI code under a common name, as well as out of the global namespace --- Source/Core/DolphinWX/FrameTools.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/DolphinWX/FrameTools.cpp') diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 535dc568aa..dc573387c1 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -371,8 +371,8 @@ void CFrame::OnTASInput(wxCommandEvent& event) { for (int i = 0; i < 4; ++i) { - if (SConfig::GetInstance().m_SIDevice[i] != SIDEVICE_NONE && - SConfig::GetInstance().m_SIDevice[i] != SIDEVICE_GC_GBA) + if (SConfig::GetInstance().m_SIDevice[i] != SerialInterface::SIDEVICE_NONE && + SConfig::GetInstance().m_SIDevice[i] != SerialInterface::SIDEVICE_GC_GBA) { g_TASInputDlg[i]->CreateGCLayout(); g_TASInputDlg[i]->Show(); @@ -464,7 +464,7 @@ void CFrame::OnRecord(wxCommandEvent& WXUNUSED(event)) for (int i = 0; i < 4; i++) { - if (SIDevice_IsGCController(SConfig::GetInstance().m_SIDevice[i])) + if (SerialInterface::SIDevice_IsGCController(SConfig::GetInstance().m_SIDevice[i])) controllers |= (1 << i); if (g_wiimote_sources[i] != WIIMOTE_SRC_NONE) -- cgit v1.2.3