diff options
Diffstat (limited to 'src/mame/drivers/adp.cpp')
-rw-r--r-- | src/mame/drivers/adp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/adp.cpp b/src/mame/drivers/adp.cpp index 69670dc19a4..757e3969d95 100644 --- a/src/mame/drivers/adp.cpp +++ b/src/mame/drivers/adp.cpp @@ -192,8 +192,8 @@ public: /* devices */ DECLARE_READ16_MEMBER(input_r); DECLARE_WRITE16_MEMBER(input_w); - void machine_start_skattv() ATTR_COLD; - void machine_reset_skattv(); + DECLARE_MACHINE_START(skattv); + DECLARE_MACHINE_RESET(skattv); DECLARE_PALETTE_INIT(adp); DECLARE_PALETTE_INIT(fstation); IRQ_CALLBACK_MEMBER(duart_iack_handler); @@ -245,12 +245,12 @@ IRQ_CALLBACK_MEMBER(adp_state::duart_iack_handler) return m_duart->get_irq_vector(); } -void adp_state::machine_start_skattv() +MACHINE_START_MEMBER(adp_state,skattv) { save_item(NAME(m_mux_data)); } -void adp_state::machine_reset_skattv() +MACHINE_RESET_MEMBER(adp_state,skattv) { m_mux_data = 0; } @@ -554,8 +554,8 @@ MACHINE_CONFIG_START(adp_state::quickjac) MCFG_DEVICE_PROGRAM_MAP(quickjac_mem) MCFG_DEVICE_IRQ_ACKNOWLEDGE_DRIVER(adp_state, duart_iack_handler) - set_machine_start_cb(config, driver_callback_delegate(&machine_start_skattv, this)); - set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_skattv, this)); + MCFG_MACHINE_START_OVERRIDE(adp_state,skattv) + MCFG_MACHINE_RESET_OVERRIDE(adp_state,skattv) MCFG_DEVICE_ADD( "duart", MC68681, XTAL(8'664'000) / 2 ) MCFG_MC68681_IRQ_CALLBACK(INPUTLINE("maincpu", M68K_IRQ_4)) |