Fixed a bug that always connected the Triforce Baseboard by default

This commit is contained in:
crediar 2025-07-19 00:23:40 +02:00
commit 50d52fd0c9
2 changed files with 3 additions and 10 deletions

View file

@ -292,7 +292,7 @@ void DVDInterface::Init()
{
AMMediaboard::Init();
// The Trifoce IPL expects the cover to be closed
// The Triforce IPL expects the cover to be closed
m_DICVR.Hex = 0;
}
}

View file

@ -68,14 +68,7 @@ void ExpansionInterfaceManager::AddMemoryCard(Slot slot)
void ExpansionInterfaceManager::AddSP1Device()
{
EXIDeviceType sp1_device = EXIDeviceType::Baseboard;
auto& system = Core::System::GetInstance();
if (system.IsTriforce())
{
sp1_device = Config::Get(Config::MAIN_SERIAL_PORT_1);
}
m_channels[0]->AddDevice(sp1_device, SlotToEXIDevice(Slot::SP1));
m_channels[0]->AddDevice( Config::Get(Config::MAIN_SERIAL_PORT_1), SlotToEXIDevice(Slot::SP1) );
}
u8 SlotToEXIChannel(Slot slot)