that's probably the intention... (nw)

This commit is contained in:
Vas Crabb 2018-08-29 12:15:12 +10:00
parent 90bf06542f
commit f05963a451

View File

@ -238,7 +238,7 @@ void h6280_device::device_add_mconfig(machine_config &config)
void h6280_device::device_start()
{
m_port_in_cb.resolve_safe(0xff);
m_port_in_cb.resolve();
m_port_out_cb.resolve_safe();
// register our state for the debugger
@ -2589,7 +2589,7 @@ READ8_MEMBER( h6280_device::port_r )
{
if (!m_port_in_cb.isnull())
return m_port_in_cb();
else
return m_io_buffer;
}
@ -2597,7 +2597,6 @@ WRITE8_MEMBER( h6280_device::port_w )
{
m_io_buffer = data;
if (!m_port_out_cb.isnull())
m_port_out_cb(data);
}