summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/homerun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/homerun.cpp')
-rw-r--r--src/mame/drivers/homerun.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/homerun.cpp b/src/mame/drivers/homerun.cpp
index 5b6aeb55fba..6019747e3ee 100644
--- a/src/mame/drivers/homerun.cpp
+++ b/src/mame/drivers/homerun.cpp
@@ -317,7 +317,7 @@ static const gfx_layout spritelayout =
8*8*2*4
};
-static GFXDECODE_START( homerun )
+static GFXDECODE_START( gfx_homerun )
GFXDECODE_ENTRY( "gfx1", 0, gfxlayout, 0, 16 )
GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 0, 16 )
GFXDECODE_END
@@ -372,7 +372,7 @@ MACHINE_CONFIG_START(homerun_state::dynashot)
MCFG_SCREEN_UPDATE_DRIVER(homerun_state, screen_update_homerun)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", homerun)
+ MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_homerun)
MCFG_PALETTE_ADD("palette", 16*4)
/* sound hardware */