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/ticket.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/devices/machine/ticket.h') diff --git a/src/devices/machine/ticket.h b/src/devices/machine/ticket.h index ac1cd01c029..fc4d45f4674 100644 --- a/src/devices/machine/ticket.h +++ b/src/devices/machine/ticket.h @@ -49,7 +49,7 @@ public: set_period(period); set_senses(motor_sense, status_sense, false); } - ticket_dispenser_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); + ticket_dispenser_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); virtual ~ticket_dispenser_device(); // inline configuration helpers @@ -68,7 +68,7 @@ public: DECLARE_WRITE_LINE_MEMBER( motor_w ); protected: - ticket_dispenser_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock = 0); + ticket_dispenser_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock = XTAL()); // device-level overrides virtual void device_start() override; @@ -104,10 +104,7 @@ public: set_period(period); set_senses(motor_sense, status_sense, true); } - hopper_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); - -private: - + hopper_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); }; #endif // MAME_MACHINE_TICKET_H -- cgit v1.2.3-70-g09d2