summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/galpanic.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-02-16 17:32:10 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-02-16 17:32:10 +0000
commit7cde79cd9cc8d2fa5ecda0709c15d0f39af92646 (patch)
treecf6a74146f83c43bc272302c0a6f7ffccdf364e9 /src/mame/drivers/galpanic.c
parent36d081e756af22894f32c3497202925ce8d7f873 (diff)
Created gfxdecode_device instead of using machine fixed gfxdecode [Miodrag Milanovic]
Updated all devices and drivers for using it. out of whatsnew: Note that it is made to work same as before, in some cases it can be more logic to move gfxdevice into subdevice itself then to keep it in main driver.
Diffstat (limited to 'src/mame/drivers/galpanic.c')
-rw-r--r--src/mame/drivers/galpanic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/galpanic.c b/src/mame/drivers/galpanic.c
index 477811783be..d780a9752d1 100644
--- a/src/mame/drivers/galpanic.c
+++ b/src/mame/drivers/galpanic.c
@@ -568,10 +568,11 @@ static MACHINE_CONFIG_START( galpanic, galpanic_state )
MCFG_SCREEN_UPDATE_DRIVER(galpanic_state, screen_update_galpanic)
MCFG_SCREEN_VBLANK_DRIVER(galpanic_state, screen_eof_galpanic)
- MCFG_GFXDECODE(galpanic)
+ MCFG_GFXDECODE_ADD("gfxdecode", galpanic)
MCFG_PALETTE_LENGTH(1024 + 32768)
MCFG_KANEKO_PANDORA_ADD("pandora", galpanic_pandora_config)
+ MCFG_KANEKO_PANDORA_GFXDECODE("gfxdecode")
MCFG_DEVICE_ADD("calc1_mcu", KANEKO_HIT, 0)
kaneko_hit_device::set_type(*device, 0);