summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/adp.cpp
diff options
context:
space:
mode:
author MooglyGuy <therealmogminer@gmail.com>2018-05-16 09:37:54 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-05-16 11:58:08 +0200
commitc83e2a853d4e1643fcc85b68ada3c6f7f33adea4 (patch)
tree39b249e1a0a9b2056e9815d0a284fd483338362c /src/mame/drivers/adp.cpp
parent2242ff00893a83a113150609bd525f098d632e8d (diff)
- Removed MACHINE/SOUND/VIDEO _START/_RESET macros. This has the side effect of making machine-config overrides of these much
uglier, but this is intended to discourage ongoing use, and will be gradually eliminated.
Diffstat (limited to 'src/mame/drivers/adp.cpp')
-rw-r--r--src/mame/drivers/adp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/adp.cpp b/src/mame/drivers/adp.cpp
index 757e3969d95..69670dc19a4 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);
- DECLARE_MACHINE_START(skattv);
- DECLARE_MACHINE_RESET(skattv);
+ void machine_start_skattv() ATTR_COLD;
+ void 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();
}
-MACHINE_START_MEMBER(adp_state,skattv)
+void adp_state::machine_start_skattv()
{
save_item(NAME(m_mux_data));
}
-MACHINE_RESET_MEMBER(adp_state,skattv)
+void adp_state::machine_reset_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)
- MCFG_MACHINE_START_OVERRIDE(adp_state,skattv)
- MCFG_MACHINE_RESET_OVERRIDE(adp_state,skattv)
+ 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_DEVICE_ADD( "duart", MC68681, XTAL(8'664'000) / 2 )
MCFG_MC68681_IRQ_CALLBACK(INPUTLINE("maincpu", M68K_IRQ_4))