summaryrefslogtreecommitdiffstats
path: root/src/emu/emupal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/emupal.cpp')
-rw-r--r--src/emu/emupal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/emupal.cpp b/src/emu/emupal.cpp
index 13e4b329e91..90ba40713cb 100644
--- a/src/emu/emupal.cpp
+++ b/src/emu/emupal.cpp
@@ -15,10 +15,10 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type PALETTE = device_creator<palette_device>;
+DEFINE_DEVICE_TYPE(PALETTE, palette_device, "palette", "palette")
palette_device::palette_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
- : device_t(mconfig, PALETTE, "palette", tag, owner, clock, "palette", __FILE__),
+ : device_t(mconfig, PALETTE, tag, owner, clock),
device_palette_interface(mconfig, *this),
m_entries(0),
m_indirect_entries(0),