Skip to content

Commit 54c9e50

Browse files
author
David Haywood
committed
actually the old way is fine
1 parent a878d8c commit 54c9e50

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/mame/tvgames/xavix2002_io.cpp

+1-8
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,8 @@ void xavix2002_io_device::pio_dir_w(offs_t offset, uint8_t data)
4444
if (offset < 3)
4545
{
4646
m_sx_pio_dir[offset] = data;
47-
4847
// update output port after direction change?
49-
switch (offset)
50-
{
51-
case 0: m_out0_cb(0, m_sx_pio_out[offset], m_sx_pio_dir[offset]); break;
52-
case 1: m_out1_cb(0, m_sx_pio_out[offset], m_sx_pio_dir[offset]); break;
53-
case 2: m_out2_cb(0, m_sx_pio_out[offset], m_sx_pio_dir[offset]); break;
54-
default: break;
55-
}
48+
pio_out_w(offset, m_sx_pio_out[offset]);
5649
}
5750
}
5851

0 commit comments

Comments
 (0)