summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tail2nos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tail2nos.cpp')
-rw-r--r--src/mame/drivers/tail2nos.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/tail2nos.cpp b/src/mame/drivers/tail2nos.cpp
index 56566fef559..8e595e64e54 100644
--- a/src/mame/drivers/tail2nos.cpp
+++ b/src/mame/drivers/tail2nos.cpp
@@ -256,11 +256,10 @@ MACHINE_CONFIG_START(tail2nos_state::tail2nos)
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1)
MCFG_SCREEN_UPDATE_DRIVER(tail2nos_state, screen_update_tail2nos)
- MCFG_SCREEN_PALETTE("palette")
+ MCFG_SCREEN_PALETTE(m_palette)
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tail2nos)
- MCFG_PALETTE_ADD("palette", 2048)
- MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_tail2nos);
+ PALETTE(config, m_palette).set_format(palette_device::xRGB_555, 2048);
K051316(config, m_k051316, 0);
m_k051316->set_palette(m_palette);