summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/3x3puzzl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/3x3puzzl.cpp')
-rw-r--r--src/mame/drivers/3x3puzzl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/3x3puzzl.cpp b/src/mame/drivers/3x3puzzl.cpp
index 2780d8d6b4f..12f5455f6a9 100644
--- a/src/mame/drivers/3x3puzzl.cpp
+++ b/src/mame/drivers/3x3puzzl.cpp
@@ -366,7 +366,7 @@ static const gfx_layout tiles8x8_layout =
};
-static GFXDECODE_START( _3x3puzzle )
+static GFXDECODE_START( gfx_3x3puzzle )
GFXDECODE_ENTRY( "gfx1", 0, tiles16x16x8_layout, 0, 3 )
GFXDECODE_ENTRY( "gfx2", 0, tiles8x8_layout, 0, 3 )
GFXDECODE_ENTRY( "gfx3", 0, tiles8x8_layout, 0, 3 )
@@ -400,7 +400,7 @@ MACHINE_CONFIG_START(_3x3puzzle_state::_3x3puzzle)
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 30*8-1)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", _3x3puzzle)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_3x3puzzle)
MCFG_PALETTE_ADD("palette", 0x600/2)
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)