machine/coco.cpp: Fix for MT 07305

This commit is contained in:
AJR 2021-06-21 12:09:21 -04:00
parent 2386a64165
commit 9c002bd264

View File

@ -417,8 +417,7 @@ uint8_t coco_state::pia1_pa_r()
{ {
// Port A: we need to specify the values of all the lines, regardless of whether // Port A: we need to specify the values of all the lines, regardless of whether
// they are in input or output mode in the DDR // they are in input or output mode in the DDR
return (m_cassette->input() >= 0 ? 0x01 : 0x00) return (m_cassette->input() >= 0 ? 0x01 : 0x00) | 0xfe;
| (dac_output() << 2);
} }