From 7cde79cd9cc8d2fa5ecda0709c15d0f39af92646 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 16 Feb 2014 17:32:10 +0000 Subject: 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. --- src/mess/drivers/plan80.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mess/drivers/plan80.c') diff --git a/src/mess/drivers/plan80.c b/src/mess/drivers/plan80.c index 9411b52c1e2..445baab9b15 100644 --- a/src/mess/drivers/plan80.c +++ b/src/mess/drivers/plan80.c @@ -241,7 +241,7 @@ static MACHINE_CONFIG_START( plan80, plan80_state ) MCFG_SCREEN_UPDATE_DRIVER(plan80_state, screen_update) MCFG_SCREEN_SIZE(48*6, 32*8) MCFG_SCREEN_VISIBLE_AREA(0, 48*6-1, 0, 32*8-1) - MCFG_GFXDECODE(plan80) + MCFG_GFXDECODE_ADD("gfxdecode", plan80) MCFG_PALETTE_LENGTH(2) MCFG_PALETTE_INIT_OVERRIDE(driver_device, monochrome_green) MACHINE_CONFIG_END -- cgit v1.2.3-70-g09d2