mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-19 14:56:15 -07:00
ExpansionInterface: Use m_system instead of GetInstance
This commit is contained in:
parent
63ce58ff9a
commit
6feb2a0bcd
@ -69,8 +69,7 @@ void ExpansionInterfaceManager::AddMemoryCard(Slot slot)
|
||||
void ExpansionInterfaceManager::AddSP1Device()
|
||||
{
|
||||
EXIDeviceType sp1_device = EXIDeviceType::Baseboard;
|
||||
auto& system = Core::System::GetInstance();
|
||||
if (system.IsTriforce())
|
||||
if (m_system.IsTriforce())
|
||||
{
|
||||
sp1_device = Config::Get(Config::MAIN_SERIAL_PORT_1);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user