diff options
Diffstat (limited to 'src/mame/drivers/quizpun2.cpp')
-rw-r--r-- | src/mame/drivers/quizpun2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/quizpun2.cpp b/src/mame/drivers/quizpun2.cpp index aea70eb92f5..34694684ee9 100644 --- a/src/mame/drivers/quizpun2.cpp +++ b/src/mame/drivers/quizpun2.cpp @@ -560,7 +560,7 @@ static const gfx_layout layout_16x16x1 = 16*16*1 }; -static GFXDECODE_START( quizpun2 ) +static GFXDECODE_START( gfx_quizpun2 ) GFXDECODE_ENTRY( "bg", 0, layout_16x16x4, 0, 256/16 ) GFXDECODE_ENTRY( "fg", 0, layout_16x16x1, 0x100, 256/2 ) GFXDECODE_ENTRY( "fg2", 0, layout_16x16x1, 0x100, 256/2 ) @@ -606,7 +606,7 @@ MACHINE_CONFIG_START(quizpun2_state::quizpun2) MCFG_SCREEN_UPDATE_DRIVER(quizpun2_state, screen_update_quizpun2) MCFG_SCREEN_PALETTE("palette") - MCFG_GFXDECODE_ADD("gfxdecode", "palette", quizpun2) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_quizpun2) MCFG_PALETTE_ADD("palette", 0x200) MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB) |