diff options
Diffstat (limited to 'src/mame/drivers/deco156.cpp')
-rw-r--r-- | src/mame/drivers/deco156.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/deco156.cpp b/src/mame/drivers/deco156.cpp index 83c64367d83..82ffa6910b2 100644 --- a/src/mame/drivers/deco156.cpp +++ b/src/mame/drivers/deco156.cpp @@ -345,7 +345,7 @@ MACHINE_CONFIG_START(deco156_state::hvysmsh) MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1) MCFG_SCREEN_UPDATE_DRIVER(deco156_state, screen_update) - MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_hvysmsh) + GFXDECODE(config, "gfxdecode", m_palette, gfx_hvysmsh); PALETTE(config, m_palette).set_format(palette_device::xBGR_888, 1024); DECO16IC(config, m_deco_tilegen, 0); @@ -398,7 +398,7 @@ MACHINE_CONFIG_START(deco156_state::wcvol95) MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1) MCFG_SCREEN_UPDATE_DRIVER(deco156_state, screen_update) - MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_hvysmsh) + GFXDECODE(config, "gfxdecode", m_palette, gfx_hvysmsh); PALETTE(config, m_palette).set_format(palette_device::xBGR_555, 1024); DECO16IC(config, m_deco_tilegen, 0); |