diff options
Diffstat (limited to 'src/devices/machine/steppers.cpp')
-rw-r--r-- | src/devices/machine/steppers.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/machine/steppers.cpp b/src/devices/machine/steppers.cpp index 20a33cb27c9..b965fee8e9d 100644 --- a/src/devices/machine/steppers.cpp +++ b/src/devices/machine/steppers.cpp @@ -41,14 +41,14 @@ #include "emu.h" #include "steppers.h" -const device_type STEPPER = device_creator<stepper_device>; +DEFINE_DEVICE_TYPE(STEPPER, stepper_device, "stepper", "Stepper Motor") stepper_device::stepper_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, STEPPER, "Stepper Motor", tag, owner, clock, "stepper", __FILE__), - m_optic_cb(*this) - { - m_max_steps=(48*2); - } + : device_t(mconfig, STEPPER, tag, owner, clock) + , m_optic_cb(*this) +{ + m_max_steps=(48*2); +} /////////////////////////////////////////////////////////////////////////// void stepper_device::update_optic() |