From 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 16 Jun 2022 12:47:52 +0200 Subject: full xtal conversion --- src/devices/machine/hp_taco.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/devices/machine/hp_taco.cpp') diff --git a/src/devices/machine/hp_taco.cpp b/src/devices/machine/hp_taco.cpp index 8896edf0fc2..b84a7116ad9 100644 --- a/src/devices/machine/hp_taco.cpp +++ b/src/devices/machine/hp_taco.cpp @@ -274,7 +274,7 @@ enum cmd_t : uint8_t { DEFINE_DEVICE_TYPE(HP_TACO, hp_taco_device, "hp_taco", "HP TACO") // Constructors -hp_taco_device::hp_taco_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) +hp_taco_device::hp_taco_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, type, tag, owner, clock) , m_tape(*this, "drive") , m_irq_handler(*this) @@ -283,7 +283,7 @@ hp_taco_device::hp_taco_device(const machine_config &mconfig, device_type type, { } -hp_taco_device::hp_taco_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +hp_taco_device::hp_taco_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : hp_taco_device(mconfig, HP_TACO, tag, owner, clock) { } @@ -543,7 +543,7 @@ READ_LINE_MEMBER(hp_taco_device::wr_bit_r) void hp_taco_device::device_add_mconfig(machine_config &config) { - HP_DC100_TAPE(config, m_tape, 0); + HP_DC100_TAPE(config, m_tape); m_tape->set_acceleration(ACCELERATION); m_tape->set_set_points(SLOW_SPEED, FAST_SPEED); m_tape->set_tick_size(TACH_TICK_LEN); -- cgit v1.2.3-70-g09d2