summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gomoku.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gomoku.cpp')
-rw-r--r--src/mame/drivers/gomoku.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gomoku.cpp b/src/mame/drivers/gomoku.cpp
index 48ad4d9eb25..6e7b157f61a 100644
--- a/src/mame/drivers/gomoku.cpp
+++ b/src/mame/drivers/gomoku.cpp
@@ -117,7 +117,7 @@ static const gfx_layout charlayout =
16*8 /* every char takes 16 consecutive bytes */
};
-static GFXDECODE_START( gomoku )
+static GFXDECODE_START( gfx_gomoku )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 32 )
GFXDECODE_END
@@ -142,7 +142,7 @@ MACHINE_CONFIG_START(gomoku_state::gomoku)
MCFG_SCREEN_UPDATE_DRIVER(gomoku_state, screen_update_gomoku)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", gomoku)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_gomoku)
MCFG_PALETTE_ADD("palette", 64)
MCFG_PALETTE_INIT_OWNER(gomoku_state, gomoku)