Fix: 21 1E 04

This commit is contained in:
tomcw 2024-01-30 13:51:22 +00:00
parent 70d453a590
commit 16003ba507
1 changed files with 6 additions and 1 deletions

View File

@ -388,7 +388,12 @@ void MockingboardCard::AY8913_Write(BYTE subunit, BYTE ay, BYTE value)
state = nAYFunc;
if (state == AY_INACTIVE) // Mockingboard or Phasor(any mode) will read PortA inputs as high.
pMB->SetBusState(false);
{
if (QueryType() != CT_SDMusic)
pMB->SetBusState(false);
else
m_MBSubUnit[0].SetBusState(false);
}
}
//-----------------------------------------------------------------------------