diff options
Diffstat (limited to 'src/mame/drivers/shanghai.c')
-rw-r--r-- | src/mame/drivers/shanghai.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/drivers/shanghai.c b/src/mame/drivers/shanghai.c index 8ff5314b7b7..bc0e1496f3f 100644 --- a/src/mame/drivers/shanghai.c +++ b/src/mame/drivers/shanghai.c @@ -452,6 +452,7 @@ static MACHINE_CONFIG_START( shanghai, shanghai_state ) MCFG_SCREEN_SIZE(384, 280) MCFG_SCREEN_VISIBLE_AREA(0, 384-1, 0, 280-1) // Base Screen is 384 pixel MCFG_SCREEN_UPDATE_DRIVER(shanghai_state, screen_update_shanghai) + MCFG_SCREEN_PALETTE("palette") MCFG_PALETTE_ADD("palette", 256) MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR) @@ -485,6 +486,7 @@ static MACHINE_CONFIG_START( shangha2, shanghai_state ) MCFG_SCREEN_SIZE(384, 280) MCFG_SCREEN_VISIBLE_AREA(0, 384-1, 0, 280-1) // Base Screen is 384 pixel MCFG_SCREEN_UPDATE_DRIVER(shanghai_state, screen_update_shanghai) + MCFG_SCREEN_PALETTE("palette") MCFG_PALETTE_ADD("palette", 256) MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR) @@ -520,6 +522,7 @@ static MACHINE_CONFIG_START( kothello, shanghai_state ) MCFG_SCREEN_SIZE(384, 280) MCFG_SCREEN_VISIBLE_AREA(8, 384-1, 0, 250-1) // Base Screen is 376 pixel MCFG_SCREEN_UPDATE_DRIVER(shanghai_state, screen_update_shanghai) + MCFG_SCREEN_PALETTE("palette") MCFG_PALETTE_ADD("palette", 256) MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR) |