summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mastboy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mastboy.cpp')
-rw-r--r--src/mame/drivers/mastboy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mastboy.cpp b/src/mame/drivers/mastboy.cpp
index a536770e682..ffd9b143e06 100644
--- a/src/mame/drivers/mastboy.cpp
+++ b/src/mame/drivers/mastboy.cpp
@@ -782,7 +782,7 @@ static const gfx_layout tiles8x8_layout_2 =
};
-static GFXDECODE_START( mastboy )
+static GFXDECODE_START( gfx_mastboy )
GFXDECODE_RAM( "vram", 0, tiles8x8_layout, 0, 16 )
GFXDECODE_ENTRY( "vrom", 0, tiles8x8_layout_2, 0, 16 )
GFXDECODE_END
@@ -838,7 +838,7 @@ MACHINE_CONFIG_START(mastboy_state::mastboy)
MCFG_SCREEN_PALETTE("palette")
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, mastboy_state, vblank_irq))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mastboy)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mastboy)
MCFG_PALETTE_ADD("palette", 0x100)
// sound hardware