diff options
author | 2022-06-16 12:47:52 +0200 | |
---|---|---|
committer | 2025-04-29 23:06:41 +0200 | |
commit | 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch) | |
tree | 4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/machine/steppers.h | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/steppers.h')
-rw-r--r-- | src/devices/machine/steppers.h | 8 |
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; |