summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/drawgfx.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-04-28 00:01:30 +1000
committer Vas Crabb <vas@vastheman.com>2018-04-28 00:01:30 +1000
commit57fd28d36a082eb0fc6ab48e4ded752eb3179976 (patch)
tree8440d006dceee816e613f8a6e366821bbea27e43 /src/emu/drawgfx.h
parentcc27fb97e0aa24e734f553ce99ad6484fced8d6f (diff)
Sarayan made me do it.
Concrete device types now have a call operator that instantiates a device. This change means you *must* use DECLARE_DEVICE_TYPE to declare the public interface of your device, even if it's device_t. If you want to use private implementation classes, use DEFINE_DEVICE_TYPE_PRIVATE and instantiate the object finders.
Diffstat (limited to 'src/emu/drawgfx.h')
-rw-r--r--src/emu/drawgfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/drawgfx.h b/src/emu/drawgfx.h
index e9833de4a30..9827c96900a 100644
--- a/src/emu/drawgfx.h
+++ b/src/emu/drawgfx.h
@@ -449,7 +449,7 @@ constexpr u32 alpha_blend_r32(u32 d, u32 s, u8 level)
// ======================> gfxdecode_device
// device type definition
-extern const device_type GFXDECODE;
+DECLARE_DEVICE_TYPE(GFXDECODE, gfxdecode_device)
class gfxdecode_device : public device_t, public device_gfx_interface
{