mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00: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:
parent
2cead402b3
commit
f0eeb3c63a
26 changed files with 112 additions and 50 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue