summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mystwarr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mystwarr.cpp')
-rw-r--r--src/mame/drivers/mystwarr.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mame/drivers/mystwarr.cpp b/src/mame/drivers/mystwarr.cpp
index 219f7993465..ccf8a2721c7 100644
--- a/src/mame/drivers/mystwarr.cpp
+++ b/src/mame/drivers/mystwarr.cpp
@@ -968,8 +968,7 @@ void mystwarr_state::mystwarr(machine_config &config)
m_screen->set_visarea(24, 24+288-1, 16, 16+224-1);
m_screen->set_screen_update(FUNC(mystwarr_state::screen_update_mystwarr));
- PALETTE(config, m_palette, 2048);
- m_palette->set_format(PALETTE_FORMAT_XRGB);
+ PALETTE(config, m_palette).set_format(palette_device::xRGB_888, 2048);
m_palette->enable_shadows();
m_palette->enable_hilights();
@@ -1138,10 +1137,6 @@ void mystwarr_state::martchmp(machine_config &config)
m_k053252->set_clock(16000000/2);
m_k053252->set_offsets(32, 24-1);
- m_palette->set_format(PALETTE_FORMAT_XRGB);
- m_palette->enable_shadows();
- m_palette->enable_hilights();
-
MCFG_VIDEO_START_OVERRIDE(mystwarr_state, martchmp)
m_screen->set_video_attributes(VIDEO_UPDATE_BEFORE_VBLANK);