summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/toaplan1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/toaplan1.cpp')
-rw-r--r--src/mame/drivers/toaplan1.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/toaplan1.cpp b/src/mame/drivers/toaplan1.cpp
index 88ad2105c34..430659b4411 100644
--- a/src/mame/drivers/toaplan1.cpp
+++ b/src/mame/drivers/toaplan1.cpp
@@ -1940,7 +1940,7 @@ void toaplan1_rallybik_state::rallybik(machine_config &config)
m_audiocpu->set_addrmap(AS_PROGRAM, &toaplan1_rallybik_state::sound_map);
m_audiocpu->set_addrmap(AS_IO, &toaplan1_rallybik_state::rallybik_sound_io_map);
- config.m_minimum_quantum = attotime::from_hz(600);
+ config.set_maximum_quantum(attotime::from_hz(600));
ls259_device &coinlatch(LS259(config, "coinlatch")); // 19L
coinlatch.q_out_cb<4>().set(FUNC(toaplan1_rallybik_state::coin_counter_1_w));
@@ -1980,7 +1980,7 @@ void toaplan1_state::truxton(machine_config &config)
m_audiocpu->set_addrmap(AS_PROGRAM, &toaplan1_state::sound_map);
m_audiocpu->set_addrmap(AS_IO, &toaplan1_state::truxton_sound_io_map);
- config.m_minimum_quantum = attotime::from_hz(600);
+ config.set_maximum_quantum(attotime::from_hz(600));
/* video hardware */
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
@@ -2010,7 +2010,7 @@ void toaplan1_state::hellfire(machine_config &config)
m_audiocpu->set_addrmap(AS_PROGRAM, &toaplan1_state::sound_map);
m_audiocpu->set_addrmap(AS_IO, &toaplan1_state::hellfire_sound_io_map);
- config.m_minimum_quantum = attotime::from_hz(600);
+ config.set_maximum_quantum(attotime::from_hz(600));
/* video hardware */
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
@@ -2040,7 +2040,7 @@ void toaplan1_state::zerowing(machine_config &config)
m_audiocpu->set_addrmap(AS_PROGRAM, &toaplan1_state::sound_map);
m_audiocpu->set_addrmap(AS_IO, &toaplan1_state::zerowing_sound_io_map);
- config.m_minimum_quantum = attotime::from_hz(600);
+ config.set_maximum_quantum(attotime::from_hz(600));
MCFG_MACHINE_RESET_OVERRIDE(toaplan1_state,zerowing)
@@ -2077,7 +2077,7 @@ void toaplan1_demonwld_state::demonwld(machine_config &config)
m_dsp->set_addrmap(AS_IO, &toaplan1_demonwld_state::dsp_io_map);
m_dsp->bio().set(FUNC(toaplan1_demonwld_state::bio_r));
- config.m_minimum_quantum = attotime::from_hz(600);
+ config.set_maximum_quantum(attotime::from_hz(600));
/* video hardware */
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
@@ -2108,7 +2108,7 @@ void toaplan1_samesame_state::samesame(machine_config &config)
audiocpu.set_addrmap(AS_IO, &toaplan1_samesame_state::hd647180_io_map);
audiocpu.in_pd_callback().set(FUNC(toaplan1_samesame_state::cmdavailable_r));
- config.m_perfect_cpu_quantum = subtag("maincpu");
+ config.set_perfect_quantum(m_maincpu);
MCFG_MACHINE_RESET_OVERRIDE(toaplan1_samesame_state,zerowing)
@@ -2140,7 +2140,7 @@ void toaplan1_state::outzone(machine_config &config)
m_audiocpu->set_addrmap(AS_PROGRAM, &toaplan1_state::sound_map);
m_audiocpu->set_addrmap(AS_IO, &toaplan1_state::outzone_sound_io_map);
- config.m_minimum_quantum = attotime::from_hz(600);
+ config.set_maximum_quantum(attotime::from_hz(600));
MCFG_MACHINE_RESET_OVERRIDE(toaplan1_state,zerowing)
@@ -2172,7 +2172,7 @@ void toaplan1_state::outzonecv(machine_config &config)
m_audiocpu->set_addrmap(AS_PROGRAM, &toaplan1_state::sound_map);
m_audiocpu->set_addrmap(AS_IO, &toaplan1_state::zerowing_sound_io_map);
- config.m_minimum_quantum = attotime::from_hz(600);
+ config.set_maximum_quantum(attotime::from_hz(600));
MCFG_MACHINE_RESET_OVERRIDE(toaplan1_state,zerowing)
@@ -2206,7 +2206,7 @@ void toaplan1_state::vimana(machine_config &config)
audiocpu.in_pa_callback().set(FUNC(toaplan1_state::vimana_dswb_invert_r)); // note these inputs seem to be inverted, unlike the DSWA ones.
audiocpu.in_pg_callback().set(FUNC(toaplan1_state::vimana_tjump_invert_r)); // note these inputs seem to be inverted, unlike the DSWA ones.
- config.m_minimum_quantum = attotime::from_hz(600);
+ config.set_maximum_quantum(attotime::from_hz(600));
MCFG_MACHINE_RESET_OVERRIDE(toaplan1_state,zerowing)