summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nibble.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/nibble.cpp')
-rw-r--r--src/mame/drivers/nibble.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/nibble.cpp b/src/mame/drivers/nibble.cpp
index 06cf475bfe7..2119ef6ca95 100644
--- a/src/mame/drivers/nibble.cpp
+++ b/src/mame/drivers/nibble.cpp
@@ -297,7 +297,7 @@ static const gfx_layout charlayout =
* Graphics Decode Information *
******************************/
-static GFXDECODE_START( nibble )
+static GFXDECODE_START( gfx_nibble )
GFXDECODE_ENTRY( "gfx", 0, charlayout, 0, 16 )
GFXDECODE_END
@@ -320,7 +320,7 @@ MACHINE_CONFIG_START(nibble_state::nibble)
MCFG_SCREEN_UPDATE_DRIVER(nibble_state, screen_update_nibble)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", nibble)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_nibble)
MCFG_PALETTE_ADD("palette", 256)
MCFG_PALETTE_INIT_OWNER(nibble_state, nibble)