Multitap: Add option to enable only on port 2
This commit is contained in:
parent
7cb1bd5ac0
commit
3482313e2f
9 changed files with 64 additions and 66 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue