mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 23:58:59 +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
|
@ -92,7 +92,7 @@ private:
|
|||
std::string sBackend;
|
||||
std::string m_strGPUDeterminismMode;
|
||||
std::array<int, MAX_BBMOTES> iWiimoteSource;
|
||||
std::array<SIDevices, SerialInterface::MAX_SI_CHANNELS> Pads;
|
||||
std::array<SerialInterface::SIDevices, SerialInterface::MAX_SI_CHANNELS> Pads;
|
||||
std::array<TEXIDevices, ExpansionInterface::MAX_EXI_CHANNELS> m_EXIDevice;
|
||||
};
|
||||
|
||||
|
@ -283,9 +283,9 @@ bool BootCore(const std::string& _rFilename)
|
|||
{
|
||||
int source;
|
||||
controls_section->Get(StringFromFormat("PadType%u", i), &source, -1);
|
||||
if (source >= SIDEVICE_NONE && source < SIDEVICE_COUNT)
|
||||
if (source >= SerialInterface::SIDEVICE_NONE && source < SerialInterface::SIDEVICE_COUNT)
|
||||
{
|
||||
StartUp.m_SIDevice[i] = static_cast<SIDevices>(source);
|
||||
StartUp.m_SIDevice[i] = static_cast<SerialInterface::SIDevices>(source);
|
||||
config_cache.bSetPads[i] = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue