summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/superqix.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-02-03 09:06:34 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-02-03 09:06:34 +0000
commitf534d245c02059be44071e9c37f38497f12f67f8 (patch)
treeb7b724026e8005bed1a42de7b3b6ea72178e4554 /src/mame/drivers/superqix.c
parent1e88333178b63ee0d5b914e181b19b3b161f807b (diff)
Attotime bulk conversion step:
attotime_zero => attotime::zero attotime_never => attotime::never ATTOTIME_IN_SEC(s) => attotime::from_seconds(s) ATTOTIME_IN_MSEC(m) => attotime::from_msec(m) ATTOTIME_IN_USEC(u) => attotime::from_usec(u) ATTOTIME_IN_NSEC(n) => attotime::from_nsec(n) ATTOTIME_IN_HZ(h) => attotime::from_hz(h) Also, changed the following MCFG macros to require a full attotime specification: MCFG_TIMER_ADD_PERIODIC MCFG_QUANTUM_TIME MCFG_WATCHDOG_TIME_INIT
Diffstat (limited to 'src/mame/drivers/superqix.c')
-rw-r--r--src/mame/drivers/superqix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/superqix.c b/src/mame/drivers/superqix.c
index 46b68b2f1d9..c6ef2ee89fc 100644
--- a/src/mame/drivers/superqix.c
+++ b/src/mame/drivers/superqix.c
@@ -377,7 +377,7 @@ logerror("Z80 sends command %02x\n",param);
from_z80 = param;
from_mcu_pending = 0;
cputag_set_input_line(machine, "mcu", 0, HOLD_LINE);
- cpuexec_boost_interleave(machine, attotime_zero, ATTOTIME_IN_USEC(200));
+ cpuexec_boost_interleave(machine, attotime::zero, attotime::from_usec(200));
}
static TIMER_CALLBACK( delayed_mcu_z80_w )
@@ -1091,7 +1091,7 @@ static MACHINE_CONFIG_START( sqix, driver_device )
MCFG_CPU_ADD("mcu", I8751, 12000000/3) /* ??? */
MCFG_CPU_IO_MAP(bootleg_mcu_io_map)
- MCFG_QUANTUM_TIME(HZ(30000))
+ MCFG_QUANTUM_TIME(attotime::from_hz(30000))
MCFG_MACHINE_START(superqix)