summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/steppers.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/steppers.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/steppers.h')
-rw-r--r--src/devices/machine/steppers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/steppers.h b/src/devices/machine/steppers.h
index 3a07de01d62..dedfe94c838 100644
--- a/src/devices/machine/steppers.h
+++ b/src/devices/machine/steppers.h
@@ -40,12 +40,12 @@ class stepper_device : public device_t
{
public:
stepper_device(const machine_config &mconfig, const char *tag, device_t *owner, uint8_t init_phase)
- : stepper_device(mconfig, tag, owner, (uint32_t)0)
+ : stepper_device(mconfig, tag, owner)
{
set_init_phase(init_phase);
}
- stepper_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
+ stepper_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
auto optic_handler() { return m_optic_cb.bind(); }
@@ -77,7 +77,7 @@ public:
int get_max() { return m_max_steps; }
protected:
- stepper_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock = 0);
+ stepper_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;
@@ -107,7 +107,7 @@ public:
reel_device(const machine_config &mconfig, const char *tag, device_t *owner, uint8_t type, int16_t start_index, int16_t end_index
, int16_t index_pattern, uint8_t init_phase, int16_t max_steps = 48*2);
- reel_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ reel_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
virtual void device_start() override;