summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/unior.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/unior.cpp')
-rw-r--r--src/mame/drivers/unior.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/unior.cpp b/src/mame/drivers/unior.cpp
index a37028f638f..6ac1a62d3ac 100644
--- a/src/mame/drivers/unior.cpp
+++ b/src/mame/drivers/unior.cpp
@@ -245,7 +245,7 @@ static const gfx_layout unior_charlayout =
8*8 /* every char takes 8 bytes */
};
-static GFXDECODE_START( unior )
+static GFXDECODE_START( gfx_unior )
GFXDECODE_ENTRY( "chargen", 0x0000, unior_charlayout, 0, 1 )
GFXDECODE_END
@@ -390,7 +390,7 @@ MACHINE_CONFIG_START(unior_state::unior)
MCFG_SCREEN_SIZE(640, 200)
MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 200-1)
MCFG_SCREEN_UPDATE_DEVICE("crtc", i8275_device, screen_update)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", unior)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_unior)
MCFG_PALETTE_ADD("palette", 3)
MCFG_PALETTE_INIT_OWNER(unior_state,unior)