summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mccs1850.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mccs1850.cpp')
-rw-r--r--src/devices/machine/mccs1850.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/devices/machine/mccs1850.cpp b/src/devices/machine/mccs1850.cpp
index 553b69da808..bec74057501 100644
--- a/src/devices/machine/mccs1850.cpp
+++ b/src/devices/machine/mccs1850.cpp
@@ -131,8 +131,7 @@ inline void mccs1850_device::check_interrupt()
m_ram[REGISTER_STATUS] &= ~STATUS_IT;
}
- if(!int_cb.isnull())
- int_cb(interrupt);
+ int_cb(interrupt);
}
@@ -144,8 +143,7 @@ inline void mccs1850_device::set_pse_line(bool state)
{
m_pse = state;
- if(!pse_cb.isnull())
- pse_cb(m_pse);
+ pse_cb(m_pse);
}
@@ -318,11 +316,6 @@ void mccs1850_device::rtc_clock_updated(int year, int month, int day, int day_of
void mccs1850_device::device_start()
{
- // resolve callbacks
- int_cb.resolve();
- pse_cb.resolve();
- nuc_cb.resolve();
-
// allocate timers
m_clock_timer = timer_alloc(FUNC(mccs1850_device::advance_seconds), this);
m_clock_timer->adjust(attotime::from_hz(clock() / 32768), 0, attotime::from_hz(clock() / 32768));