mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-05-29 09:41:29 +00:00
Fix so that MB can still read AY regs after setting INACTIVE state (#1193)
This commit is contained in:
parent
7c5f0e7b9a
commit
df0f4356ec
|
@ -339,7 +339,7 @@ void MockingboardCard::AY8910_Write(BYTE subunit, BYTE ay, BYTE value)
|
||||||
|
|
||||||
state = nAYFunc;
|
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)
|
r6522.UpdatePortAForHiZ(); // Float high any PortA input bits (GH#1193)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user