diff options
Diffstat (limited to 'src/mame/drivers/mitchell.cpp')
-rw-r--r-- | src/mame/drivers/mitchell.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/mitchell.cpp b/src/mame/drivers/mitchell.cpp index 05dd1a796e3..66c580d25c7 100644 --- a/src/mame/drivers/mitchell.cpp +++ b/src/mame/drivers/mitchell.cpp @@ -1120,7 +1120,7 @@ GFXDECODE_END * *************************************/ -MACHINE_START_MEMBER(mitchell_state,mitchell) +void mitchell_state::machine_start_mitchell() { save_item(NAME(m_dial_selected)); save_item(NAME(m_keymatrix)); @@ -1138,7 +1138,7 @@ MACHINE_START_MEMBER(mitchell_state,mitchell) } } -MACHINE_RESET_MEMBER(mitchell_state,mitchell) +void mitchell_state::machine_reset_mitchell() { m_sample_select = false; m_dial_selected = 0; @@ -1169,8 +1169,8 @@ MACHINE_CONFIG_START(mitchell_state::mgakuen) MCFG_DEVICE_IO_MAP(mitchell_io_map) MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", mitchell_state, mitchell_irq, "screen", 0, 1) - MCFG_MACHINE_START_OVERRIDE(mitchell_state,mitchell) - MCFG_MACHINE_RESET_OVERRIDE(mitchell_state,mitchell) + set_machine_start_cb(config, driver_callback_delegate(&machine_start_mitchell, this)); + set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_mitchell, this)); MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") @@ -1188,7 +1188,7 @@ MACHINE_CONFIG_START(mitchell_state::mgakuen) MCFG_PALETTE_ADD("palette", 1024) /* less colors than the others */ MCFG_PALETTE_FORMAT(xxxxRRRRGGGGBBBB) - MCFG_VIDEO_START_OVERRIDE(mitchell_state,pang) + set_video_start_cb(config, driver_callback_delegate(&video_start_pang, this)); /* sound hardware */ SPEAKER(config, "mono").front_center(); @@ -1210,8 +1210,8 @@ MACHINE_CONFIG_START(mitchell_state::pang) MCFG_DEVICE_OPCODES_MAP(decrypted_opcodes_map) MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", mitchell_state, mitchell_irq, "screen", 0, 1) - MCFG_MACHINE_START_OVERRIDE(mitchell_state,mitchell) - MCFG_MACHINE_RESET_OVERRIDE(mitchell_state,mitchell) + set_machine_start_cb(config, driver_callback_delegate(&machine_start_mitchell, this)); + set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_mitchell, this)); MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") @@ -1229,7 +1229,7 @@ MACHINE_CONFIG_START(mitchell_state::pang) MCFG_PALETTE_ADD("palette", 2048) MCFG_PALETTE_FORMAT(xxxxRRRRGGGGBBBB) - MCFG_VIDEO_START_OVERRIDE(mitchell_state,pang) + set_video_start_cb(config, driver_callback_delegate(&video_start_pang, this)); /* sound hardware */ SPEAKER(config, "mono").front_center(); @@ -1330,8 +1330,8 @@ MACHINE_CONFIG_START(mitchell_state::mstworld) MCFG_DEVICE_ADD("audiocpu", Z80,6000000) /* 6 MHz? */ MCFG_DEVICE_PROGRAM_MAP(mstworld_sound_map) - MCFG_MACHINE_START_OVERRIDE(mitchell_state,mitchell) - MCFG_MACHINE_RESET_OVERRIDE(mitchell_state,mitchell) + set_machine_start_cb(config, driver_callback_delegate(&machine_start_mitchell, this)); + set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_mitchell, this)); /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) @@ -1347,7 +1347,7 @@ MACHINE_CONFIG_START(mitchell_state::mstworld) MCFG_PALETTE_ADD("palette", 2048) MCFG_PALETTE_FORMAT(xxxxRRRRGGGGBBBB) - MCFG_VIDEO_START_OVERRIDE(mitchell_state,pang) + set_video_start_cb(config, driver_callback_delegate(&video_start_pang, this)); /* sound hardware */ SPEAKER(config, "mono").front_center(); @@ -1384,7 +1384,7 @@ MACHINE_CONFIG_START(mitchell_state::marukin) MCFG_PALETTE_ADD("palette", 2048) MCFG_PALETTE_FORMAT(xxxxRRRRGGGGBBBB) - MCFG_VIDEO_START_OVERRIDE(mitchell_state,pang) + set_video_start_cb(config, driver_callback_delegate(&video_start_pang, this)); /* sound hardware */ SPEAKER(config, "mono").front_center(); @@ -1439,7 +1439,7 @@ MACHINE_CONFIG_START(mitchell_state::pkladiesbl) MCFG_PALETTE_ADD("palette", 2048) MCFG_PALETTE_FORMAT(xxxxRRRRGGGGBBBB) - MCFG_VIDEO_START_OVERRIDE(mitchell_state,pang) + set_video_start_cb(config, driver_callback_delegate(&video_start_pang, this)); /* sound hardware */ SPEAKER(config, "mono").front_center(); |