summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mouser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mouser.cpp')
-rw-r--r--src/mame/drivers/mouser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mouser.cpp b/src/mame/drivers/mouser.cpp
index d1e1115b491..b205fe4a15c 100644
--- a/src/mame/drivers/mouser.cpp
+++ b/src/mame/drivers/mouser.cpp
@@ -174,7 +174,7 @@ static const gfx_layout spritelayout =
};
-static GFXDECODE_START( mouser )
+static GFXDECODE_START( gfx_mouser )
GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout, 0, 16 )
GFXDECODE_ENTRY( "gfx1", 0x1000, spritelayout, 0, 16 )
GFXDECODE_ENTRY( "gfx1", 0x1800, spritelayout, 0, 16 )
@@ -220,7 +220,7 @@ MACHINE_CONFIG_START(mouser_state::mouser)
MCFG_SCREEN_PALETTE("palette")
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, mouser_state, mouser_nmi_interrupt))
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", mouser)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mouser)
MCFG_PALETTE_ADD("palette", 64)
MCFG_PALETTE_INIT_OWNER(mouser_state, mouser)