diff options
Diffstat (limited to 'src/mame/drivers/pc4.cpp')
-rw-r--r-- | src/mame/drivers/pc4.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pc4.cpp b/src/mame/drivers/pc4.cpp index dc3ac3923db..2861fd41fd5 100644 --- a/src/mame/drivers/pc4.cpp +++ b/src/mame/drivers/pc4.cpp @@ -184,7 +184,7 @@ static const gfx_layout pc4_charlayout = 8*8 /* 8 bytes */ }; -static GFXDECODE_START( pc4 ) +static GFXDECODE_START( gfx_pc4 ) GFXDECODE_ENTRY( "charset", 0x0000, pc4_charlayout, 0, 1 ) GFXDECODE_END @@ -235,7 +235,7 @@ MACHINE_CONFIG_START(pc4_state::pc4) MCFG_DEFAULT_LAYOUT(layout_lcd) MCFG_PALETTE_ADD("palette", 2) MCFG_PALETTE_INIT_OWNER(pc4_state, pc4) - MCFG_GFXDECODE_ADD("gfxdecode", "palette", pc4) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_pc4) /* sound hardware */ SPEAKER(config, "mono").front_center(); |