diff options
Diffstat (limited to 'src/mame/drivers/topspeed.cpp')
-rw-r--r-- | src/mame/drivers/topspeed.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/topspeed.cpp b/src/mame/drivers/topspeed.cpp index b467e67453a..625952c3149 100644 --- a/src/mame/drivers/topspeed.cpp +++ b/src/mame/drivers/topspeed.cpp @@ -582,8 +582,8 @@ MACHINE_CONFIG_START(topspeed_state::topspeed) MCFG_DEVICE_PROGRAM_MAP(z80_prg) MCFG_DEVICE_IO_MAP(z80_io) - MCFG_DEVICE_ADD("ctc", Z80CTC, XTAL(16'000'000) / 4) - MCFG_Z80CTC_ZC0_CB(WRITELINE(*this, topspeed_state, z80ctc_to0)) + z80ctc_device& ctc(Z80CTC(config, "ctc", XTAL(16'000'000) / 4)); + ctc.intr_callback().set(FUNC(topspeed_state::z80ctc_to0)); MCFG_DEVICE_ADD("pc080sn_1", PC080SN, 0) MCFG_PC080SN_GFX_REGION(1) |