summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/iq151/staper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/iq151/staper.cpp')
-rw-r--r--src/devices/bus/iq151/staper.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/devices/bus/iq151/staper.cpp b/src/devices/bus/iq151/staper.cpp
index 692c4e9431a..f04c4302540 100644
--- a/src/devices/bus/iq151/staper.cpp
+++ b/src/devices/bus/iq151/staper.cpp
@@ -34,7 +34,7 @@ MACHINE_CONFIG_END
// GLOBAL VARIABLES
//**************************************************************************
-const device_type IQ151_STAPER = device_creator<iq151_staper_device>;
+DEFINE_DEVICE_TYPE(IQ151_STAPER, iq151_staper_device, "iq151_staper", "IQ151 STAPER")
//**************************************************************************
// LIVE DEVICE
@@ -45,11 +45,13 @@ const device_type IQ151_STAPER = device_creator<iq151_staper_device>;
//-------------------------------------------------
iq151_staper_device::iq151_staper_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, IQ151_STAPER, "IQ151 STAPER", tag, owner, clock, "iq151_staper", __FILE__),
- device_iq151cart_interface( mconfig, *this ),
- m_ppi(*this, "ppi8255"),
- m_printer(*this, "printer"), m_printer_timer(nullptr), m_ppi_portc(0)
- {
+ : device_t(mconfig, IQ151_STAPER, tag, owner, clock)
+ , device_iq151cart_interface(mconfig, *this)
+ , m_ppi(*this, "ppi8255")
+ , m_printer(*this, "printer")
+ , m_printer_timer(nullptr)
+ , m_ppi_portc(0)
+{
}
//-------------------------------------------------