summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gauntlet.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/gauntlet.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/gauntlet.c')
-rw-r--r--src/mame/drivers/gauntlet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/gauntlet.c b/src/mame/drivers/gauntlet.c
index e7e8f385336..dcc8f5732fd 100644
--- a/src/mame/drivers/gauntlet.c
+++ b/src/mame/drivers/gauntlet.c
@@ -509,12 +509,13 @@ static MACHINE_CONFIG_START( gauntlet, gauntlet_state )
/* video hardware */
MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MCFG_GFXDECODE(gauntlet)
+ MCFG_GFXDECODE_ADD("gfxdecode", gauntlet)
MCFG_PALETTE_LENGTH(1024)
MCFG_TILEMAP_ADD_STANDARD("playfield", 2, gauntlet_state, get_playfield_tile_info, 8,8, SCAN_COLS, 64,64)
MCFG_TILEMAP_ADD_STANDARD_TRANSPEN("alpha", 2, gauntlet_state, get_alpha_tile_info, 8,8, SCAN_ROWS, 64,32, 0)
MCFG_ATARI_MOTION_OBJECTS_ADD("mob", "screen", gauntlet_state::s_mob_config)
+ MCFG_ATARI_MOTION_OBJECTS_GFXDECODE("gfxdecode")
MCFG_SCREEN_ADD("screen", RASTER)
/* note: these parameters are from published specs, not derived */