summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/scotrsht.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/scotrsht.cpp')
-rw-r--r--src/mame/drivers/scotrsht.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/scotrsht.cpp b/src/mame/drivers/scotrsht.cpp
index bf4c8919b0a..6b8f76ced5e 100644
--- a/src/mame/drivers/scotrsht.cpp
+++ b/src/mame/drivers/scotrsht.cpp
@@ -182,7 +182,7 @@ static const gfx_layout spritelayout =
128*8 /* every sprite takes 128 consecutive bytes */
};
-static GFXDECODE_START( scotrsht )
+static GFXDECODE_START( gfx_scotrsht )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 16*8 ) /* characters */
GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 16*16*8, 16*8 ) /* sprites */
GFXDECODE_END
@@ -209,7 +209,7 @@ MACHINE_CONFIG_START(scotrsht_state::scotrsht)
MCFG_SCREEN_PALETTE("palette")
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, scotrsht_state, vblank_irq))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", scotrsht)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_scotrsht)
MCFG_PALETTE_ADD("palette", 16*8*16+16*8*16)
MCFG_PALETTE_INDIRECT_ENTRIES(256)
MCFG_PALETTE_INIT_OWNER(scotrsht_state, scotrsht)