summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/trucocl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/trucocl.cpp')
-rw-r--r--src/mame/drivers/trucocl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/trucocl.cpp b/src/mame/drivers/trucocl.cpp
index 9e9bedd374f..7d27cdc51ae 100644
--- a/src/mame/drivers/trucocl.cpp
+++ b/src/mame/drivers/trucocl.cpp
@@ -131,7 +131,7 @@ static const gfx_layout tilelayout =
-static GFXDECODE_START( trucocl )
+static GFXDECODE_START( gfx_trucocl )
GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 2 )
GFXDECODE_ENTRY( "gfx1", 0x10000, tilelayout, 0, 2 )
GFXDECODE_END
@@ -160,7 +160,7 @@ MACHINE_CONFIG_START(trucocl_state::trucocl)
MCFG_SCREEN_UPDATE_DRIVER(trucocl_state, screen_update_trucocl)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", trucocl)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_trucocl)
MCFG_PALETTE_ADD("palette", 32)
MCFG_PALETTE_INIT_OWNER(trucocl_state, trucocl)