summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atarig42.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/atarig42.cpp')
-rw-r--r--src/mame/drivers/atarig42.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/atarig42.cpp b/src/mame/drivers/atarig42.cpp
index 91db2497096..520a76e39a8 100644
--- a/src/mame/drivers/atarig42.cpp
+++ b/src/mame/drivers/atarig42.cpp
@@ -526,8 +526,7 @@ MACHINE_CONFIG_START(atarig42_state::atarig42)
/* video hardware */
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_atarig42)
- MCFG_PALETTE_ADD("palette", 2048)
- MCFG_PALETTE_FORMAT(IRRRRRGGGGGBBBBB)
+ PALETTE(config, "palette").set_format(palette_device::IRGB_1555, 2048);
MCFG_TILEMAP_ADD_CUSTOM("playfield", "gfxdecode", 2, atarig42_state, get_playfield_tile_info, 8,8, atarig42_playfield_scan, 128,64)
MCFG_TILEMAP_ADD_STANDARD_TRANSPEN("alpha", "gfxdecode", 2, atarig42_state, get_alpha_tile_info, 8,8, SCAN_ROWS, 64,32, 0)