diff options
Diffstat (limited to 'src/mame/drivers/lvcards.cpp')
-rw-r--r-- | src/mame/drivers/lvcards.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/lvcards.cpp b/src/mame/drivers/lvcards.cpp index 5f33f11de8d..907e1b08f57 100644 --- a/src/mame/drivers/lvcards.cpp +++ b/src/mame/drivers/lvcards.cpp @@ -83,14 +83,14 @@ TODO: #include "speaker.h" -void lvcards_state::machine_start_lvpoker() +MACHINE_START_MEMBER(lvcards_state,lvpoker) { save_item(NAME(m_payout)); save_item(NAME(m_pulse)); save_item(NAME(m_result)); } -void lvcards_state::machine_reset_lvpoker() +MACHINE_RESET_MEMBER(lvcards_state,lvpoker) { m_payout = 0; m_pulse = 0; @@ -491,8 +491,8 @@ MACHINE_CONFIG_START(lvcards_state::lvpoker) MCFG_NVRAM_ADD_1FILL("nvram") MCFG_DEVICE_MODIFY("maincpu") MCFG_DEVICE_PROGRAM_MAP(lvpoker_map) - set_machine_start_cb(config, driver_callback_delegate(&machine_start_lvpoker, this)); - set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_lvpoker, this)); + MCFG_MACHINE_START_OVERRIDE(lvcards_state,lvpoker) + MCFG_MACHINE_RESET_OVERRIDE(lvcards_state,lvpoker) MACHINE_CONFIG_END MACHINE_CONFIG_START(lvcards_state::ponttehk) @@ -502,7 +502,7 @@ MACHINE_CONFIG_START(lvcards_state::ponttehk) MCFG_NVRAM_ADD_1FILL("nvram") MCFG_DEVICE_MODIFY("maincpu") MCFG_DEVICE_PROGRAM_MAP(ponttehk_map) - set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_lvpoker, this)); + MCFG_MACHINE_RESET_OVERRIDE(lvcards_state,lvpoker) // video hardware MCFG_DEVICE_REMOVE("palette") |