mirror of
https://github.com/holub/mame
synced 2025-06-02 19:06:43 +03:00
m37710: Fix alpinerd regression (port writes are blocked when direction register = 0, not FF) (nw)
This commit is contained in:
parent
f94e998614
commit
7804df9821
@ -509,7 +509,7 @@ void m37710_cpu_device::port_w(offs_t offset, uint8_t data)
|
||||
else
|
||||
{
|
||||
uint8_t d = m_port_dir[p];
|
||||
if (d != 0xff)
|
||||
if (d != 0)
|
||||
m_port_out_cb[p](0, data & d, d);
|
||||
m_port_regs[p] = data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user