summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/pasopia7.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/mess/drivers/pasopia7.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/mess/drivers/pasopia7.c')
-rw-r--r--src/mess/drivers/pasopia7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/pasopia7.c b/src/mess/drivers/pasopia7.c
index 2f20534e65f..a9c78d6640c 100644
--- a/src/mess/drivers/pasopia7.c
+++ b/src/mess/drivers/pasopia7.c
@@ -1017,7 +1017,7 @@ static MACHINE_CONFIG_DERIVED( p7_raster, p7_base )
MCFG_SCREEN_UPDATE_DRIVER(pasopia7_state, screen_update_pasopia7)
MCFG_PALETTE_LENGTH(8)
MCFG_PALETTE_INIT_OVERRIDE(pasopia7_state,p7_raster)
- MCFG_GFXDECODE( pasopia7 )
+ MCFG_GFXDECODE_ADD("gfxdecode", pasopia7 )
MCFG_MC6845_ADD("crtc", H46505, "screen", VDP_CLOCK, mc6845_intf) /* unknown clock, hand tuned to get ~60 fps */
MACHINE_CONFIG_END
@@ -1033,7 +1033,7 @@ static MACHINE_CONFIG_DERIVED( p7_lcd, p7_base )
MCFG_SCREEN_UPDATE_DRIVER(pasopia7_state, screen_update_pasopia7)
MCFG_PALETTE_LENGTH(8)
MCFG_PALETTE_INIT_OVERRIDE(pasopia7_state,p7_lcd)
- MCFG_GFXDECODE( pasopia7 )
+ MCFG_GFXDECODE_ADD("gfxdecode", pasopia7 )
MCFG_MC6845_ADD("crtc", H46505, "screen", LCD_CLOCK, mc6845_intf) /* unknown clock, hand tuned to get ~60 fps */
MCFG_DEFAULT_LAYOUT( layout_lcd )