summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mario.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mario.cpp')
-rw-r--r--src/mame/drivers/mario.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mario.cpp b/src/mame/drivers/mario.cpp
index 325d8a21a4e..e1c2a574357 100644
--- a/src/mame/drivers/mario.cpp
+++ b/src/mame/drivers/mario.cpp
@@ -317,7 +317,7 @@ static const gfx_layout spritelayout =
16*8 /* every sprite takes 16 consecutive bytes */
};
-static GFXDECODE_START( mario )
+static GFXDECODE_START( gfx_mario )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 32 )
GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 0, 32 )
GFXDECODE_END
@@ -365,7 +365,7 @@ MACHINE_CONFIG_START(mario_state::mario_base)
MCFG_SCREEN_PALETTE("palette")
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, mario_state, vblank_irq))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mario)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mario)
MCFG_PALETTE_ADD("palette", 256)
MCFG_PALETTE_INIT_OWNER(mario_state, mario)