Fix so that MB can still read AY regs after setting INACTIVE state (#1193)

This commit is contained in:
tomcw 2023-03-05 21:09:08 +00:00
parent 7c5f0e7b9a
commit df0f4356ec
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ void MockingboardCard::AY8910_Write(BYTE subunit, BYTE ay, BYTE value)
state = nAYFunc;
if (state == AY_INACTIVE)
if (state == AY_INACTIVE && m_phasorEnable) // Assume Phasor(even in MB mode) will read PortA inputs as high.
r6522.UpdatePortAForHiZ(); // Float high any PortA input bits (GH#1193)
}
}