diff options
Diffstat (limited to 'src/mame/drivers/groundfx.cpp')
-rw-r--r-- | src/mame/drivers/groundfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/groundfx.cpp b/src/mame/drivers/groundfx.cpp index 7db844de78d..764ded874f2 100644 --- a/src/mame/drivers/groundfx.cpp +++ b/src/mame/drivers/groundfx.cpp @@ -218,7 +218,7 @@ static const gfx_layout scclayout = 32*8 /* every sprite takes 32 consecutive bytes */ }; -static GFXDECODE_START( groundfx ) +static GFXDECODE_START( gfx_groundfx ) GFXDECODE_ENTRY( "gfx2", 0x0, tile16x16_layout, 4096, 512 ) GFXDECODE_ENTRY( "gfx1", 0x0, charlayout, 0, 512 ) GFXDECODE_ENTRY( "gfx3", 0x0, scclayout, 0, 512 ) @@ -270,7 +270,7 @@ MACHINE_CONFIG_START(groundfx_state::groundfx) MCFG_SCREEN_UPDATE_DRIVER(groundfx_state, screen_update) MCFG_SCREEN_PALETTE("palette") - MCFG_GFXDECODE_ADD("gfxdecode", "palette", groundfx) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_groundfx) MCFG_PALETTE_ADD("palette", 16384) MCFG_PALETTE_FORMAT(XRGB) |