summaryrefslogtreecommitdiffstats
path: root/src/emu/drawgfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/drawgfx.cpp')
-rw-r--r--src/emu/drawgfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/drawgfx.cpp b/src/emu/drawgfx.cpp
index 009dc064d28..7ba4d7bd7c5 100644
--- a/src/emu/drawgfx.cpp
+++ b/src/emu/drawgfx.cpp
@@ -66,10 +66,10 @@ static inline s32 normalize_yscroll(const bitmap_t &bitmap, s32 yscroll)
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type GFXDECODE = device_creator<gfxdecode_device>;
+DEFINE_DEVICE_TYPE(GFXDECODE, gfxdecode_device, "gfxdecode", "gfxdecode")
gfxdecode_device::gfxdecode_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
- device_t(mconfig, GFXDECODE, "gfxdecode", tag, owner, clock, "gfxdecode", __FILE__),
+ device_t(mconfig, GFXDECODE, tag, owner, clock),
device_gfx_interface(mconfig, *this)
{
}