summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ticket.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/machine/ticket.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/ticket.h')
-rw-r--r--src/devices/machine/ticket.h9
1 files changed, 3 insertions, 6 deletions
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