mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-21 16:58:45 +00:00
Fixed a bug that always connected the Triforce Baseboard by default
This commit is contained in:
parent
994fd7d900
commit
50d52fd0c9
2 changed files with 3 additions and 10 deletions
|
@ -292,7 +292,7 @@ void DVDInterface::Init()
|
||||||
{
|
{
|
||||||
AMMediaboard::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;
|
m_DICVR.Hex = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,15 +67,8 @@ void ExpansionInterfaceManager::AddMemoryCard(Slot slot)
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExpansionInterfaceManager::AddSP1Device()
|
void ExpansionInterfaceManager::AddSP1Device()
|
||||||
{
|
{
|
||||||
EXIDeviceType sp1_device = EXIDeviceType::Baseboard;
|
m_channels[0]->AddDevice( Config::Get(Config::MAIN_SERIAL_PORT_1), SlotToEXIDevice(Slot::SP1) );
|
||||||
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));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 SlotToEXIChannel(Slot slot)
|
u8 SlotToEXIChannel(Slot slot)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue