summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sms_ctrl/graphic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sms_ctrl/graphic.cpp')
-rw-r--r--src/devices/bus/sms_ctrl/graphic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/sms_ctrl/graphic.cpp b/src/devices/bus/sms_ctrl/graphic.cpp
index 6aba4cdcbfb..1ada76748e7 100644
--- a/src/devices/bus/sms_ctrl/graphic.cpp
+++ b/src/devices/bus/sms_ctrl/graphic.cpp
@@ -28,7 +28,7 @@ Then 2 nibbles are read to form a byte (first high nibble, then low nibble) indi
whether the pen is on the graphic board, a value of FD, FE, or FF used for this. For
any other value the following 2 bytes are not read.
Then 2 nibbles are read to form a byte containing the absolute X coordinate.
-THen 2 nibbles are read to form a byte containing the absolute Y coordiante.
+Then 2 nibbles are read to form a byte containing the absolute Y coordiante.
**********************************************************************/
@@ -41,7 +41,7 @@ THen 2 nibbles are read to form a byte containing the absolute Y coordiante.
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type SMS_GRAPHIC = device_creator<sms_graphic_device>;
+DEFINE_DEVICE_TYPE(SMS_GRAPHIC, sms_graphic_device, "sms_graphic", "Sega SMS Graphic Board")
static INPUT_PORTS_START( sms_graphic )
@@ -77,7 +77,7 @@ ioport_constructor sms_graphic_device::device_input_ports() const
//-------------------------------------------------
sms_graphic_device::sms_graphic_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, SMS_GRAPHIC, "Sega SMS Graphic Board", tag, owner, clock, "sms_graphic", __FILE__)
+ : device_t(mconfig, SMS_GRAPHIC, tag, owner, clock)
, device_sms_control_port_interface(mconfig, *this)
, m_buttons(*this, "BUTTONS")
, m_x(*this, "X")