summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/irobot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/irobot.cpp')
-rw-r--r--src/mame/drivers/irobot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/irobot.cpp b/src/mame/drivers/irobot.cpp
index 8a35992888d..ff6c82e9d72 100644
--- a/src/mame/drivers/irobot.cpp
+++ b/src/mame/drivers/irobot.cpp
@@ -284,7 +284,7 @@ static const gfx_layout charlayout =
};
-static GFXDECODE_START( irobot )
+static GFXDECODE_START( gfx_irobot )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 64, 16 )
GFXDECODE_END
@@ -316,7 +316,7 @@ MACHINE_CONFIG_START(irobot_state::irobot)
MCFG_SCREEN_UPDATE_DRIVER(irobot_state, screen_update_irobot)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", irobot)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_irobot)
MCFG_PALETTE_ADD("palette", 64 + 32) /* 64 for polygons, 32 for text */
MCFG_PALETTE_INIT_OWNER(irobot_state, irobot)