summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/trvmadns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/trvmadns.cpp')
-rw-r--r--src/mame/drivers/trvmadns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/trvmadns.cpp b/src/mame/drivers/trvmadns.cpp
index 42926ccdf70..f9e0eab8b74 100644
--- a/src/mame/drivers/trvmadns.cpp
+++ b/src/mame/drivers/trvmadns.cpp
@@ -300,7 +300,7 @@ static const gfx_layout charlayout =
8*16
};
-static GFXDECODE_START( trvmadns )
+static GFXDECODE_START( gfx_trvmadns )
GFXDECODE_ENTRY( nullptr, 0x6000, charlayout, 0, 4 ) // doesn't matter where we point this, all the tiles are decoded while the game runs
GFXDECODE_END
@@ -400,7 +400,7 @@ MACHINE_CONFIG_START(trvmadns_state::trvmadns)
MCFG_SCREEN_PALETTE("palette")
MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("maincpu", INPUT_LINE_NMI))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", trvmadns)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_trvmadns)
MCFG_PALETTE_ADD("palette", 16)