summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cbasebal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cbasebal.cpp')
-rw-r--r--src/mame/drivers/cbasebal.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/cbasebal.cpp b/src/mame/drivers/cbasebal.cpp
index 2a0cfa56650..c508d933452 100644
--- a/src/mame/drivers/cbasebal.cpp
+++ b/src/mame/drivers/cbasebal.cpp
@@ -280,12 +280,11 @@ MACHINE_CONFIG_START(cbasebal_state::cbasebal)
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(8*8, (64-8)*8-1, 2*8, 30*8-1 )
MCFG_SCREEN_UPDATE_DRIVER(cbasebal_state, screen_update_cbasebal)
- MCFG_SCREEN_PALETTE("palette")
+ MCFG_SCREEN_PALETTE(m_palette)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_cbasebal)
- MCFG_PALETTE_ADD("palette", 1024)
- MCFG_PALETTE_FORMAT(xxxxBBBBRRRRGGGG)
+ PALETTE(config, m_palette).set_format(palette_device::xBRG_444, 1024);
/* sound hardware */
SPEAKER(config, "mono").front_center();