summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mz2000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mz2000.cpp')
-rw-r--r--src/mame/drivers/mz2000.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mz2000.cpp b/src/mame/drivers/mz2000.cpp
index 39e08b74317..aa7e9062b39 100644
--- a/src/mame/drivers/mz2000.cpp
+++ b/src/mame/drivers/mz2000.cpp
@@ -693,7 +693,7 @@ static const gfx_layout mz2000_charlayout_16 =
8*16
};
-static GFXDECODE_START( mz2000 )
+static GFXDECODE_START( gfx_mz2000 )
GFXDECODE_ENTRY( "chargen", 0x0000, mz2000_charlayout_8, 0, 1 )
GFXDECODE_ENTRY( "chargen", 0x0800, mz2000_charlayout_16, 0, 1 )
GFXDECODE_END
@@ -922,7 +922,7 @@ MACHINE_CONFIG_START(mz2000_state::mz2000)
MCFG_SCREEN_UPDATE_DRIVER(mz2000_state, screen_update_mz2000)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mz2000)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mz2000)
MCFG_PALETTE_ADD_3BIT_BRG("palette")
SPEAKER(config, "mono").front_center();