mirror of
https://github.com/holub/mame
synced 2025-05-30 17:41:47 +03:00
i8255: remove unreachable code
This commit is contained in:
parent
d4cb8e34fd
commit
eeb9e57858
@ -445,10 +445,8 @@ void i8255_device::write_mode0(int port, uint8_t data)
|
||||
// write data to port
|
||||
if (port == PORT_A)
|
||||
m_out_pa_cb((offs_t)0, m_output[port]);
|
||||
else if (port == PORT_B)
|
||||
m_out_pb_cb((offs_t)0, m_output[port]);
|
||||
else
|
||||
m_out_pc_cb((offs_t)0, m_output[port]);
|
||||
m_out_pb_cb((offs_t)0, m_output[port]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -463,10 +461,8 @@ void i8255_device::write_mode1(int port, uint8_t data)
|
||||
// write data to port
|
||||
if (port == PORT_A)
|
||||
m_out_pa_cb((offs_t)0, m_output[port]);
|
||||
else if (port == PORT_B)
|
||||
m_out_pb_cb((offs_t)0, m_output[port]);
|
||||
else
|
||||
m_out_pc_cb((offs_t)0, m_output[port]);
|
||||
m_out_pb_cb((offs_t)0, m_output[port]);
|
||||
|
||||
// set output buffer full flag
|
||||
set_obf(port, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user