summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mastboyo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mastboyo.cpp')
-rw-r--r--src/mame/drivers/mastboyo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mastboyo.cpp b/src/mame/drivers/mastboyo.cpp
index 41d49ecc69c..d5af2d4f4c2 100644
--- a/src/mame/drivers/mastboyo.cpp
+++ b/src/mame/drivers/mastboyo.cpp
@@ -160,7 +160,7 @@ static const gfx_layout tiles8x8_layout =
32*8
};
-static GFXDECODE_START( mastboyo )
+static GFXDECODE_START( gfx_mastboyo )
GFXDECODE_ENTRY( "gfx1", 0, tiles8x8_layout, 0, 16 )
GFXDECODE_END
@@ -202,7 +202,7 @@ MACHINE_CONFIG_START(mastboyo_state::mastboyo)
MCFG_SCREEN_UPDATE_DRIVER(mastboyo_state, screen_update_mastboyo)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mastboyo)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mastboyo)
MCFG_PALETTE_ADD("palette", 256)
MCFG_PALETTE_INIT_OWNER(mastboyo_state, mastboyo)