summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/gamegear/ggext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/gamegear/ggext.cpp')
-rw-r--r--src/devices/bus/gamegear/ggext.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/gamegear/ggext.cpp b/src/devices/bus/gamegear/ggext.cpp
index 3be7f8a1080..4cdd0d59afc 100644
--- a/src/devices/bus/gamegear/ggext.cpp
+++ b/src/devices/bus/gamegear/ggext.cpp
@@ -18,7 +18,7 @@
// GLOBAL VARIABLES
//**************************************************************************
-const device_type GG_EXT_PORT = device_creator<gg_ext_port_device>;
+DEFINE_DEVICE_TYPE(GG_EXT_PORT, gg_ext_port_device, "gg_ext_port", "Game Gear EXT Port")
@@ -56,10 +56,11 @@ device_gg_ext_port_interface::~device_gg_ext_port_interface()
//-------------------------------------------------
gg_ext_port_device::gg_ext_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, GG_EXT_PORT, "EXT Port", tag, owner, clock, "gg_ext_port", __FILE__),
- device_slot_interface(mconfig, *this), m_device(nullptr),
- m_th_pin_handler(*this),
- m_pixel_handler(*this)
+ device_t(mconfig, GG_EXT_PORT, tag, owner, clock),
+ device_slot_interface(mconfig, *this),
+ m_device(nullptr),
+ m_th_pin_handler(*this),
+ m_pixel_handler(*this)
{
}