summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/groundfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/groundfx.c')
-rw-r--r--src/mame/drivers/groundfx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/groundfx.c b/src/mame/drivers/groundfx.c
index 9e5f726cf81..a1ad1451ee0 100644
--- a/src/mame/drivers/groundfx.c
+++ b/src/mame/drivers/groundfx.c
@@ -88,7 +88,7 @@ WRITE32_MEMBER(groundfx_state::color_ram_w)
g = (a &0xff00) >> 8;
b = (a &0xff);
- palette_set_color(machine(),offset,rgb_t(r,g,b));
+ m_palette->set_pen_color(offset,rgb_t(r,g,b));
}
}
@@ -367,7 +367,7 @@ static MACHINE_CONFIG_START( groundfx, groundfx_state )
MCFG_SCREEN_UPDATE_DRIVER(groundfx_state, screen_update_groundfx)
MCFG_GFXDECODE_ADD("gfxdecode", groundfx)
- MCFG_PALETTE_LENGTH(16384)
+ MCFG_PALETTE_ADD("palette", 16384)
MCFG_TC0100SCN_ADD("tc0100scn", groundfx_tc0100scn_intf)