summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/tms1024.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/tms1024.cpp')
-rw-r--r--src/devices/machine/tms1024.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/machine/tms1024.cpp b/src/devices/machine/tms1024.cpp
index c9ebedf3111..b283c20893c 100644
--- a/src/devices/machine/tms1024.cpp
+++ b/src/devices/machine/tms1024.cpp
@@ -26,7 +26,7 @@ DEFINE_DEVICE_TYPE(TMS1025, tms1025_device, "tms1025", "TMS1025 I/O Expander")
tms1024_device::tms1024_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock)
: device_t(mconfig, type, tag, owner, clock)
, m_h(0), m_s(0), m_std(0), m_ms(0)
- , m_read_port(*this)
+ , m_read_port(*this, 0)
, m_write_port(*this)
{
}
@@ -49,10 +49,6 @@ tms1025_device::tms1025_device(const machine_config &mconfig, const char *tag, d
void tms1024_device::device_start()
{
- // resolve callbacks (there is no port 0)
- m_read_port.resolve_all_safe(0);
- m_write_port.resolve_all_safe();
-
// register for savestates
save_item(NAME(m_h));
save_item(NAME(m_s));