summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hcastle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hcastle.cpp')
-rw-r--r--src/mame/drivers/hcastle.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/hcastle.cpp b/src/mame/drivers/hcastle.cpp
index 7c6f2cd9326..5f540098fb0 100644
--- a/src/mame/drivers/hcastle.cpp
+++ b/src/mame/drivers/hcastle.cpp
@@ -217,10 +217,10 @@ MACHINE_CONFIG_START(hcastle_state::hcastle)
MCFG_PALETTE_INIT_OWNER(hcastle_state, hcastle)
- MCFG_K007121_ADD("k007121_1")
- MCFG_K007121_PALETTE("palette")
- MCFG_K007121_ADD("k007121_2")
- MCFG_K007121_PALETTE("palette")
+ K007121(config, m_k007121_1, 0);
+ m_k007121_1->set_palette_tag(m_palette);
+ K007121(config, m_k007121_2, 0);
+ m_k007121_2->set_palette_tag(m_palette);
/* sound hardware */
SPEAKER(config, "mono").front_center();