summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/upd7004.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/upd7004.cpp')
-rw-r--r--src/devices/machine/upd7004.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/devices/machine/upd7004.cpp b/src/devices/machine/upd7004.cpp
index a5fb2cba78f..8fcb49e9c62 100644
--- a/src/devices/machine/upd7004.cpp
+++ b/src/devices/machine/upd7004.cpp
@@ -40,7 +40,7 @@ ALLOW_SAVE_TYPE(upd7004_device::state);
upd7004_device::upd7004_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, UPD7004, tag, owner, clock),
m_eoc_cb(*this), m_eoc_ff_cb(*this),
- m_in_cb(*this),
+ m_in_cb(*this, 0x3ff),
m_state(STATE_IDLE),
m_cycle_timer(nullptr),
m_div(1), m_code(false), m_address(0), m_sar(0x3ff)
@@ -53,11 +53,6 @@ upd7004_device::upd7004_device(const machine_config &mconfig, const char *tag, d
void upd7004_device::device_start()
{
- // resolve callbacks
- m_eoc_cb.resolve_safe();
- m_eoc_ff_cb.resolve_safe();
- m_in_cb.resolve_all_safe(0x3ff);
-
// allocate timers
m_cycle_timer = timer_alloc(FUNC(upd7004_device::update_state), this);
m_cycle_timer->adjust(attotime::never);