summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/galaxi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/galaxi.cpp')
-rw-r--r--src/mame/drivers/galaxi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/galaxi.cpp b/src/mame/drivers/galaxi.cpp
index c036e299119..435e99299e7 100644
--- a/src/mame/drivers/galaxi.cpp
+++ b/src/mame/drivers/galaxi.cpp
@@ -432,7 +432,7 @@ static const gfx_layout layout_16x16x4 =
16*16*4
};
-static GFXDECODE_START( galaxi )
+static GFXDECODE_START( gfx_galaxi )
GFXDECODE_ENTRY( "gfx1", 0x00000, layout_16x16x4, 0, 0x400/0x10 )
GFXDECODE_ENTRY( "gfx1", 0x80000, layout_8x8x4, 0, 0x400/0x10 )
GFXDECODE_END
@@ -480,7 +480,7 @@ MACHINE_CONFIG_START(galaxi_state::galaxi)
MCFG_SCREEN_UPDATE_DRIVER(galaxi_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", galaxi)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_galaxi)
MCFG_PALETTE_ADD("palette", 0x400)
MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)