summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/exerion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/exerion.cpp')
-rw-r--r--src/mame/drivers/exerion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/exerion.cpp b/src/mame/drivers/exerion.cpp
index 0fffdb53c06..528e67c796c 100644
--- a/src/mame/drivers/exerion.cpp
+++ b/src/mame/drivers/exerion.cpp
@@ -333,7 +333,7 @@ static const gfx_layout spritelayout =
};
-static GFXDECODE_START( exerion )
+static GFXDECODE_START( gfx_exerion )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 64 )
GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 256, 64 )
GFXDECODE_SCALE( "gfx2", 0, spritelayout, 256, 64, 2, 2 )
@@ -387,7 +387,7 @@ MACHINE_CONFIG_START(exerion_state::exerion)
MCFG_SCREEN_UPDATE_DRIVER(exerion_state, screen_update_exerion)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", exerion)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_exerion)
MCFG_PALETTE_ADD("palette", 256*3)
MCFG_PALETTE_INDIRECT_ENTRIES(32)
MCFG_PALETTE_INIT_OWNER(exerion_state, exerion)