summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/citycon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/citycon.cpp')
-rw-r--r--src/mame/drivers/citycon.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/citycon.cpp b/src/mame/drivers/citycon.cpp
index 5fe5234e7c6..307978e89dc 100644
--- a/src/mame/drivers/citycon.cpp
+++ b/src/mame/drivers/citycon.cpp
@@ -213,11 +213,10 @@ MACHINE_CONFIG_START(citycon_state::citycon)
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
MCFG_SCREEN_UPDATE_DRIVER(citycon_state, screen_update_citycon)
- MCFG_SCREEN_PALETTE("palette")
+ MCFG_SCREEN_PALETTE(m_palette)
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_citycon)
- MCFG_PALETTE_ADD_INIT_BLACK("palette", 640+1024) /* 640 real palette + 1024 virtual palette */
- MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx)
+ MCFG_DEVICE_ADD(m_gfxdecode, GFXDECODE, m_palette, gfx_citycon)
+ PALETTE(config, m_palette, palette_device::BLACK).set_format(palette_device::RGBx_444, 640+1024); // 640 real palette + 1024 virtual palette
/* sound hardware */
SPEAKER(config, "mono").front_center();