summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/hd66421.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/hd66421.cpp')
-rw-r--r--src/devices/video/hd66421.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/devices/video/hd66421.cpp b/src/devices/video/hd66421.cpp
index d9dc531d830..ad6349f999a 100644
--- a/src/devices/video/hd66421.cpp
+++ b/src/devices/video/hd66421.cpp
@@ -274,17 +274,11 @@ PALETTE_INIT_MEMBER(hd66421_device, hd66421)
}
-static MACHINE_CONFIG_START( hd66421 )
- MCFG_PALETTE_ADD("palette", 4)
- MCFG_PALETTE_INIT_OWNER(hd66421_device, hd66421)
-MACHINE_CONFIG_END
-
//-------------------------------------------------
-// machine_config_additions - return a pointer to
-// the device's machine fragment
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-machine_config_constructor hd66421_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( hd66421 );
-}
+MACHINE_CONFIG_MEMBER( hd66421_device::device_add_mconfig )
+ MCFG_PALETTE_ADD("palette", 4)
+ MCFG_PALETTE_INIT_OWNER(hd66421_device, hd66421)
+MACHINE_CONFIG_END