summaryrefslogtreecommitdiffstats
path: root/src/devices/imagedev/printer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/imagedev/printer.cpp')
-rw-r--r--src/devices/imagedev/printer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/imagedev/printer.cpp b/src/devices/imagedev/printer.cpp
index f4ea99a7d3f..2eb187d843a 100644
--- a/src/devices/imagedev/printer.cpp
+++ b/src/devices/imagedev/printer.cpp
@@ -13,14 +13,14 @@
// device type definition
-const device_type PRINTER = device_creator<printer_image_device>;
+DEFINE_DEVICE_TYPE(PRINTER, printer_image_device, "printer_image", "Printer")
//-------------------------------------------------
// printer_image_device - constructor
//-------------------------------------------------
printer_image_device::printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, PRINTER, "Printer", tag, owner, clock, "printer_image", __FILE__),
+ device_t(mconfig, PRINTER, tag, owner, clock),
device_image_interface(mconfig, *this),
m_online_cb(*this)
{