diff options
Diffstat (limited to 'docs/release/src/hbmame/drivers/cps2.cpp')
-rw-r--r-- | docs/release/src/hbmame/drivers/cps2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/release/src/hbmame/drivers/cps2.cpp b/docs/release/src/hbmame/drivers/cps2.cpp index 3e32f6a0411..2072c92d01e 100644 --- a/docs/release/src/hbmame/drivers/cps2.cpp +++ b/docs/release/src/hbmame/drivers/cps2.cpp @@ -2142,7 +2142,7 @@ MACHINE_CONFIG_START(cps2_state::cps2) MCFG_DEVICE_ADD("maincpu", M68000, XTAL(16'000'000)) MCFG_DEVICE_PROGRAM_MAP(cps2_map) MCFG_DEVICE_OPCODES_MAP(decrypted_opcodes_map) - MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", cps2_state, cps2_interrupt, "screen", 0, 1) + TIMER(config, "scantimer").configure_scanline(FUNC(cps2_state::cps2_interrupt), "screen", 0, 1); MCFG_DEVICE_ADD("audiocpu", Z80, XTAL(8'000'000)) MCFG_DEVICE_PROGRAM_MAP(qsound_sub_map) @@ -2185,9 +2185,9 @@ MACHINE_CONFIG_END MACHINE_CONFIG_START(cps2_state::gigaman2) cps2(config); - MCFG_DEVICE_REMOVE("audiocpu") + config.device_remove("audiocpu"); // gigaman2 has an AT89C4051 (8051) MCU as an audio cpu, no qsound. - MCFG_DEVICE_REMOVE("qsound") + config.device_remove("qsound"); MCFG_DEVICE_MODIFY("maincpu") |