diff options
Diffstat (limited to 'src/mame/drivers/mwarr.cpp')
-rw-r--r-- | src/mame/drivers/mwarr.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/mwarr.cpp b/src/mame/drivers/mwarr.cpp index 1b9e1093ddc..c52875f14e0 100644 --- a/src/mame/drivers/mwarr.cpp +++ b/src/mame/drivers/mwarr.cpp @@ -319,11 +319,10 @@ MACHINE_CONFIG_START(mwarr_state::mwarr) MCFG_SCREEN_SIZE(64*8, 32*8) MCFG_SCREEN_VISIBLE_AREA(8+1, 48*8-1-8-1, 0, 30*8-1) MCFG_SCREEN_UPDATE_DRIVER(mwarr_state, screen_update_mwarr) - MCFG_SCREEN_PALETTE("palette") + MCFG_SCREEN_PALETTE(m_palette) MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_mwarr) - MCFG_PALETTE_ADD("palette", 0x800) - MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR) + PALETTE(config, m_palette).set_format(palette_device::xBGR_555, 0x800); EDEVICES_VID(config, m_video, 0); m_video->set_bg_videoram_tag("bg_videoram"); |