mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user