summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sliver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sliver.cpp')
-rw-r--r--src/mame/drivers/sliver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/sliver.cpp b/src/mame/drivers/sliver.cpp
index 547b753d149..da7e984cd2a 100644
--- a/src/mame/drivers/sliver.cpp
+++ b/src/mame/drivers/sliver.cpp
@@ -536,8 +536,8 @@ MACHINE_CONFIG_START(sliver_state::sliver)
MCFG_SCREEN_UPDATE_DRIVER(sliver_state, screen_update)
MCFG_PALETTE_ADD("palette", 0x100)
- MCFG_RAMDAC_ADD("ramdac", ramdac_map, "palette")
-
+ ramdac_device &ramdac(RAMDAC(config, "ramdac", 0, "palette"));
+ ramdac.set_addrmap(0, &adp_state::ramdac_map);
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();