diff options
Diffstat (limited to 'src/mame/drivers/dfruit.cpp')
-rw-r--r-- | src/mame/drivers/dfruit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/dfruit.cpp b/src/mame/drivers/dfruit.cpp index 2c8a9d9809d..fd27b603c56 100644 --- a/src/mame/drivers/dfruit.cpp +++ b/src/mame/drivers/dfruit.cpp @@ -342,7 +342,7 @@ static const gfx_layout char_layout = }; #endif -static GFXDECODE_START( dfruit ) +static GFXDECODE_START( gfx_dfruit ) GFXDECODE_ENTRY( "gfx1", 0, bg2_layout, 0, 16 ) GFXDECODE_ENTRY( "gfx1", 0, sp2_layout, 0, 16 ) //GFXDECODE_ENTRY( nullptr, 0, char_layout, 0, 16 ) // Ram-based @@ -390,7 +390,7 @@ MACHINE_CONFIG_START(dfruit_state::dfruit) MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, dfruit_state, screen_vblank)) MCFG_SCREEN_PALETTE("palette") - MCFG_GFXDECODE_ADD("gfxdecode", "palette", dfruit ) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_dfruit ) MCFG_PALETTE_ADD("palette", 0x100) MCFG_DEVICE_ADD("tc0091lvc", TC0091LVC, 0) |