diff options
Diffstat (limited to 'src/mame/drivers/atarig1.cpp')
-rw-r--r-- | src/mame/drivers/atarig1.cpp | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/src/mame/drivers/atarig1.cpp b/src/mame/drivers/atarig1.cpp index 6934ab3593a..0e37e26f21f 100644 --- a/src/mame/drivers/atarig1.cpp +++ b/src/mame/drivers/atarig1.cpp @@ -438,7 +438,8 @@ MACHINE_CONFIG_START(atarig1_state::atarig1) MACHINE_CONFIG_END -MACHINE_CONFIG_START(atarig1_state::hydrap) +void atarig1_state::hydrap(machine_config &config) +{ atarig1(config); ADC0809(config, m_adc, ATARI_CLOCK_14MHz/16); @@ -446,8 +447,8 @@ MACHINE_CONFIG_START(atarig1_state::hydrap) m_adc->in_callback<1>().set_ioport("ADC1"); m_adc->in_callback<2>().set_ioport("ADC2"); - MCFG_ATARIRLE_ADD("rle", modesc_hydra) -MACHINE_CONFIG_END + ATARI_RLE_OBJECTS(config, m_rle, 0, modesc_hydra); +} void atarig1_state::hydra(machine_config &config) @@ -457,38 +458,43 @@ void atarig1_state::hydra(machine_config &config) } -MACHINE_CONFIG_START(atarig1_state::pitfight9) +void atarig1_state::pitfight9(machine_config &config) +{ atarig1(config); - MCFG_ATARIRLE_ADD("rle", modesc_pitfight) + ATARI_RLE_OBJECTS(config, m_rle, 0, modesc_pitfight); SLAPSTIC(config, "slapstic", 114, true); -MACHINE_CONFIG_END +} -MACHINE_CONFIG_START(atarig1_state::pitfight7) +void atarig1_state::pitfight7(machine_config &config) +{ atarig1(config); - MCFG_ATARIRLE_ADD("rle", modesc_pitfight) + ATARI_RLE_OBJECTS(config, m_rle, 0, modesc_pitfight); SLAPSTIC(config, "slapstic", 112, true); -MACHINE_CONFIG_END +} -MACHINE_CONFIG_START(atarig1_state::pitfight) +void atarig1_state::pitfight(machine_config &config) +{ atarig1(config); - MCFG_ATARIRLE_ADD("rle", modesc_pitfight) + ATARI_RLE_OBJECTS(config, m_rle, 0, modesc_pitfight); SLAPSTIC(config, "slapstic", 111, true); -MACHINE_CONFIG_END +} -MACHINE_CONFIG_START(atarig1_state::pitfightj) +void atarig1_state::pitfightj(machine_config &config) +{ atarig1(config); - MCFG_ATARIRLE_ADD("rle", modesc_pitfight) + ATARI_RLE_OBJECTS(config, m_rle, 0, modesc_pitfight); SLAPSTIC(config, "slapstic", 113, true); -MACHINE_CONFIG_END +} -MACHINE_CONFIG_START(atarig1_state::pitfightb) +void atarig1_state::pitfightb(machine_config &config) +{ atarig1(config); - MCFG_ATARIRLE_ADD("rle", modesc_pitfight) -MACHINE_CONFIG_END + ATARI_RLE_OBJECTS(config, m_rle, 0, modesc_pitfight); +} /************************************* |