summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/offtwall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/offtwall.cpp')
-rw-r--r--src/mame/drivers/offtwall.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/offtwall.cpp b/src/mame/drivers/offtwall.cpp
index 348d182c4c0..4ccdaba7da1 100644
--- a/src/mame/drivers/offtwall.cpp
+++ b/src/mame/drivers/offtwall.cpp
@@ -348,8 +348,7 @@ MACHINE_CONFIG_START(offtwall_state::offtwall)
/* video hardware */
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_offtwall)
- MCFG_PALETTE_ADD("palette", 2048)
- MCFG_PALETTE_FORMAT(IRRRRRGGGGGBBBBB)
+ PALETTE(config, "palette").set_format(palette_device::IRGB_1555, 2048);
ATARI_VAD(config, m_vad, 0, "screen");
m_vad->scanline_int_cb().set_inputline(m_maincpu, M68K_IRQ_4);