diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-03-16 04:41:36 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-03-16 04:41:39 -0400 |
| commit | f0eeb3c63ac49b9f4b9dd837038b00caeefdcb01 (patch) | |
| tree | 0730ec9524f0b3f62deb253b907e3aefb759ab20 /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | 2cead402b3186731c8e4de9d64af200f59010567 (diff) | |
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
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
