diff options
Diffstat (limited to 'src/mame/etc/template_driver.cpp')
-rw-r--r-- | src/mame/etc/template_driver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/etc/template_driver.cpp b/src/mame/etc/template_driver.cpp index 8478ab06b01..f2a1dbb2f23 100644 --- a/src/mame/etc/template_driver.cpp +++ b/src/mame/etc/template_driver.cpp @@ -129,7 +129,7 @@ static const gfx_layout charlayout = 8*8 }; -static GFXDECODE_START( xxx ) +static GFXDECODE_START( gfx_xxx ) GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 1 ) GFXDECODE_END @@ -165,7 +165,7 @@ MACHINE_CONFIG_START(xxx_state::xxx) //MCFG_SCREEN_RAW_PARAMS(XTAL(12'000'000)/2, 384, 0, 256, 264, 16, 240) /* generic NTSC video timing at 256x224 */ MCFG_SCREEN_PALETTE("palette") - MCFG_GFXDECODE_ADD("gfxdecode", "palette", xxx) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_xxx) MCFG_PALETTE_ADD("palette", 8) MCFG_PALETTE_INIT_OWNER(xxx_state, xxx) |