mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +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
|
@ -580,7 +580,7 @@ void SConfig::LoadCoreSettings(IniFile& ini)
|
|||
for (int i = 0; i < SerialInterface::MAX_SI_CHANNELS; ++i)
|
||||
{
|
||||
core->Get(StringFromFormat("SIDevice%i", i), (u32*)&m_SIDevice[i],
|
||||
(i == 0) ? SIDEVICE_GC_CONTROLLER : SIDEVICE_NONE);
|
||||
(i == 0) ? SerialInterface::SIDEVICE_GC_CONTROLLER : SerialInterface::SIDEVICE_NONE);
|
||||
core->Get(StringFromFormat("AdapterRumble%i", i), &m_AdapterRumble[i], true);
|
||||
core->Get(StringFromFormat("SimulateKonga%i", i), &m_AdapterKonga[i], false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue