summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/x1twin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/x1twin.cpp')
-rw-r--r--src/mame/drivers/x1twin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/x1twin.cpp b/src/mame/drivers/x1twin.cpp
index edb83a7efaf..2ac2ae944a9 100644
--- a/src/mame/drivers/x1twin.cpp
+++ b/src/mame/drivers/x1twin.cpp
@@ -392,7 +392,7 @@ static const gfx_layout x1_chars_16x16 =
};
/* decoded for debugging purpose, this will be nuked in the end... */
-static GFXDECODE_START( x1 )
+static GFXDECODE_START( gfx_x1 )
GFXDECODE_ENTRY( "cgrom", 0x00000, x1_chars_8x8, 0, 1 )
GFXDECODE_ENTRY( "pcg", 0x00000, x1_pcg_8x8, 0, 1 )
GFXDECODE_ENTRY( "font", 0x00000, x1_chars_8x16, 0, 1 )
@@ -473,7 +473,7 @@ MACHINE_CONFIG_START(x1twin_state::x1twin)
MCFG_PALETTE_ADD("palette", 0x10+0x1000)
MCFG_PALETTE_INIT_OWNER(x1twin_state,x1)
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", x1)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_x1)
MCFG_VIDEO_START_OVERRIDE(x1twin_state,x1)