summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/microtan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/microtan.cpp')
-rw-r--r--src/mame/drivers/microtan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/microtan.cpp b/src/mame/drivers/microtan.cpp
index 67b03b48cf6..1281c1bfa83 100644
--- a/src/mame/drivers/microtan.cpp
+++ b/src/mame/drivers/microtan.cpp
@@ -204,7 +204,7 @@ static const gfx_layout chunky_layout =
8 * 16 /* code takes 8 times 16 bits */
};
-static GFXDECODE_START( microtan )
+static GFXDECODE_START( gfx_microtan )
GFXDECODE_ENTRY( "gfx1", 0, char_layout, 0, 1 )
GFXDECODE_ENTRY( "gfx2", 0, chunky_layout, 0, 1 )
GFXDECODE_END
@@ -226,7 +226,7 @@ MACHINE_CONFIG_START(microtan_state::microtan)
MCFG_SCREEN_UPDATE_DRIVER(microtan_state, screen_update_microtan)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", microtan)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_microtan)
MCFG_PALETTE_ADD_MONOCHROME("palette")