summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pda600.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pda600.cpp')
-rw-r--r--src/mame/drivers/pda600.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pda600.cpp b/src/mame/drivers/pda600.cpp
index fda98b8a34f..47cb67039be 100644
--- a/src/mame/drivers/pda600.cpp
+++ b/src/mame/drivers/pda600.cpp
@@ -192,7 +192,7 @@ static const gfx_layout pda600_charlayout_19a =
8*19
};
-static GFXDECODE_START( pda600 )
+static GFXDECODE_START( gfx_pda600 )
GFXDECODE_ENTRY( "maincpu", 0x45cd, pda600_charlayout_19, 0, 1 )
GFXDECODE_ENTRY( "maincpu", 0x4892, pda600_charlayout_19a, 0, 1 )
GFXDECODE_ENTRY( "maincpu", 0x4d73, pda600_charlayout_8, 0, 1 )
@@ -216,7 +216,7 @@ MACHINE_CONFIG_START(pda600_state::pda600)
MCFG_SCREEN_UPDATE_DRIVER( pda600_state, screen_update )
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", pda600)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_pda600)
MCFG_DEFAULT_LAYOUT(layout_lcd)
MCFG_PALETTE_ADD_MONOCHROME("palette")