summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/magicard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/magicard.cpp')
-rw-r--r--src/mame/drivers/magicard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/magicard.cpp b/src/mame/drivers/magicard.cpp
index 8039b842de8..55fb5edb424 100644
--- a/src/mame/drivers/magicard.cpp
+++ b/src/mame/drivers/magicard.cpp
@@ -1010,7 +1010,8 @@ MACHINE_CONFIG_START(magicard_state::magicard)
MCFG_SCREEN_UPDATE_DRIVER(magicard_state, screen_update_magicard)
MCFG_PALETTE_ADD("palette", 0x100)
- MCFG_RAMDAC_ADD("ramdac", ramdac_map, "palette")
+ ramdac_device &ramdac(RAMDAC(config, "ramdac", 0, m_palette));
+ ramdac.set_addrmap(0, &magicard_state::ramdac_map);
SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("saa", SAA1099, CLOCK_B)