summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/news.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/news.cpp')
-rw-r--r--src/mame/drivers/news.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/news.cpp b/src/mame/drivers/news.cpp
index 6f59a8821d5..f3314c0a476 100644
--- a/src/mame/drivers/news.cpp
+++ b/src/mame/drivers/news.cpp
@@ -147,10 +147,8 @@ MACHINE_CONFIG_START(news_state::news)
MCFG_SCREEN_UPDATE_DRIVER(news_state, screen_update_news)
MCFG_SCREEN_PALETTE("palette")
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_news)
- MCFG_PALETTE_ADD("palette", 0x100)
- MCFG_PALETTE_FORMAT(xxxxRRRRGGGGBBBB)
- MCFG_PALETTE_ENDIANNESS(ENDIANNESS_BIG)
+ GFXDECODE(config, m_gfxdecode, "palette", gfx_news);
+ PALETTE(config, "palette").set_format(palette_device::xRGB_444, 0x100).set_endianness(ENDIANNESS_BIG);
/* sound hardware */
SPEAKER(config, "mono").front_center();