summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/chance32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/chance32.cpp')
-rw-r--r--src/mame/drivers/chance32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/chance32.cpp b/src/mame/drivers/chance32.cpp
index 65f5f264a50..78336ebc597 100644
--- a/src/mame/drivers/chance32.cpp
+++ b/src/mame/drivers/chance32.cpp
@@ -434,7 +434,7 @@ static const gfx_layout tiles8x8_layout =
128*8
};
-static GFXDECODE_START( chance32 )
+static GFXDECODE_START( gfx_chance32 )
GFXDECODE_ENTRY( "gfx1", 0, tiles8x8_layout, 0, 8 )
GFXDECODE_ENTRY( "gfx2", 0, tiles8x8_layout, 0, 8 )
GFXDECODE_END
@@ -471,7 +471,7 @@ MACHINE_CONFIG_START(chance32_state::chance32)
MCFG_MC6845_SHOW_BORDER_AREA(false)
MCFG_MC6845_CHAR_WIDTH(16)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", chance32)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_chance32)
MCFG_PALETTE_ADD("palette", 0x800)
MCFG_PALETTE_FORMAT(xGGGGGRRRRRBBBBB)