Multitap: Add option to enable only on port 2

This commit is contained in:
Albert Liu
2021-03-01 14:59:59 -08:00
parent 7cb1bd5ac0
commit 3482313e2f
9 changed files with 64 additions and 66 deletions

View File

@ -247,15 +247,6 @@ void Pad::SetMemoryCard(u32 slot, std::unique_ptr<MemoryCard> dev)
m_memory_cards[slot] = std::move(dev);
}
void Pad::SetMultitapEnable(u32 port, bool enable)
{
if (m_multitaps[port].IsEnabled() != enable)
{
m_multitaps[port].SetEnable(enable);
m_multitaps[port].Reset();
}
}
u32 Pad::ReadRegister(u32 offset)
{
switch (offset)