summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/m10.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/m10.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/m10.c')
-rw-r--r--src/mame/drivers/m10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/m10.c b/src/mame/drivers/m10.c
index aa821034046..095f04f45b3 100644
--- a/src/mame/drivers/m10.c
+++ b/src/mame/drivers/m10.c
@@ -854,7 +854,7 @@ static MACHINE_CONFIG_START( m10, m10_state )
MCFG_SCREEN_RAW_PARAMS(IREMM10_PIXEL_CLOCK, IREMM10_HTOTAL, IREMM10_HBEND, IREMM10_HBSTART, IREMM10_VTOTAL, IREMM10_VBEND, IREMM10_VBSTART)
MCFG_SCREEN_UPDATE_DRIVER(m10_state, screen_update_m10)
- MCFG_GFXDECODE(m10)
+ MCFG_GFXDECODE_ADD("gfxdecode", m10)
MCFG_PALETTE_LENGTH(2*8)
MCFG_PALETTE_INIT_OVERRIDE(m10_state,m10)