diff options
Diffstat (limited to 'src/mame/machine/mac.cpp')
-rw-r--r-- | src/mame/machine/mac.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/machine/mac.cpp b/src/mame/machine/mac.cpp index 24d129f8ce3..32206173d16 100644 --- a/src/mame/machine/mac.cpp +++ b/src/mame/machine/mac.cpp @@ -1020,19 +1020,19 @@ void mac_state::machine_start() { if (m_screen) { - this->m_scanline_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mac_state::mac_scanline_tick),this)); + this->m_scanline_timer = timer_alloc(FUNC(mac_state::mac_scanline_tick), this); this->m_scanline_timer->adjust(m_screen->time_until_pos(0, 0)); } else { - m_adbupdate_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mac_state::mac_adbrefresh_tick),this)); + m_adbupdate_timer = timer_alloc(FUNC(mac_state::mac_adbrefresh_tick), this); m_adbupdate_timer->adjust(attotime::from_hz(70)); } if (m_model != MODEL_MAC_IIFX) - m_6015_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mac_state::mac_6015_tick),this)); + m_6015_timer = timer_alloc(FUNC(mac_state::mac_6015_tick), this); else - m_6015_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mac_state::oss_6015_tick),this)); + m_6015_timer = timer_alloc(FUNC(mac_state::oss_6015_tick), this); m_6015_timer->adjust(attotime::never); } @@ -1210,7 +1210,7 @@ void mac_state::mac_driver_init(model_t model) if ((model == MODEL_MAC_CLASSIC_II) || (model == MODEL_MAC_LC) || (model == MODEL_MAC_COLOR_CLASSIC) || (model >= MODEL_MAC_LC_475 && model <= MODEL_MAC_LC_580) || (model == MODEL_MAC_LC_II) || (model == MODEL_MAC_LC_III) || (model == MODEL_MAC_LC_III_PLUS) || ((m_model >= MODEL_MAC_II) && (m_model <= MODEL_MAC_SE30))) { - m_overlay_timeout = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mac_state::overlay_timeout_func),this)); + m_overlay_timeout = timer_alloc(FUNC(mac_state::overlay_timeout_func), this); } else { |