summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rohga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/rohga.cpp')
-rw-r--r--src/mame/drivers/rohga.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/rohga.cpp b/src/mame/drivers/rohga.cpp
index a465c80abe2..efebdc5cab2 100644
--- a/src/mame/drivers/rohga.cpp
+++ b/src/mame/drivers/rohga.cpp
@@ -897,8 +897,8 @@ MACHINE_CONFIG_START(rohga_state::rohga)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_rohga)
MCFG_PALETTE_ADD("palette", 2048)
- MCFG_DECOCOMN_ADD("deco_common")
- MCFG_DECOCOMN_PALETTE("palette")
+ DECOCOMN(config, m_decocomn, 0);
+ m_decocomn->set_palette_tag(m_palette);
MCFG_DEVICE_ADD("tilegen1", DECO16IC, 0)
MCFG_DECO16IC_SPLIT(0)
@@ -989,8 +989,8 @@ MACHINE_CONFIG_START(rohga_state::wizdfire)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_wizdfire)
MCFG_PALETTE_ADD("palette", 2048)
- MCFG_DECOCOMN_ADD("deco_common")
- MCFG_DECOCOMN_PALETTE("palette")
+ DECOCOMN(config, m_decocomn, 0);
+ m_decocomn->set_palette_tag(m_palette);
MCFG_DEVICE_ADD("tilegen1", DECO16IC, 0)
MCFG_DECO16IC_SPLIT(0)
@@ -1086,8 +1086,8 @@ MACHINE_CONFIG_START(rohga_state::nitrobal)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_wizdfire)
MCFG_PALETTE_ADD("palette", 2048)
- MCFG_DECOCOMN_ADD("deco_common")
- MCFG_DECOCOMN_PALETTE("palette")
+ DECOCOMN(config, m_decocomn, 0);
+ m_decocomn->set_palette_tag(m_palette);
MCFG_DEVICE_ADD("tilegen1", DECO16IC, 0)
MCFG_DECO16IC_SPLIT(0)
@@ -1184,8 +1184,8 @@ MACHINE_CONFIG_START(rohga_state::schmeisr)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_schmeisr)
MCFG_PALETTE_ADD("palette", 2048)
- MCFG_DECOCOMN_ADD("deco_common")
- MCFG_DECOCOMN_PALETTE("palette")
+ DECOCOMN(config, m_decocomn, 0);
+ m_decocomn->set_palette_tag(m_palette);
MCFG_DEVICE_ADD("tilegen1", DECO16IC, 0)
MCFG_DECO16IC_SPLIT(0)