From 6ceadb303ee7479d27a4a19f18806a7704bc64b1 Mon Sep 17 00:00:00 2001 From: Nicola Salmoria Date: Wed, 16 Apr 2008 08:42:19 +0000 Subject: [PATCH] 01697: sfa3, sfa3b, sfa3u, sfa3ur1: About the blue background in startup screen. --- src/mame/video/cps1.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/mame/video/cps1.c b/src/mame/video/cps1.c index b30757e2395..ab0dc7ade8d 100644 --- a/src/mame/video/cps1.c +++ b/src/mame/video/cps1.c @@ -275,9 +275,6 @@ CPS2: * Sprites are currently lagged by one frame to keep sync with backgrounds. This causes sprites to stay on screen one frame longer (visable in VSAV attract mode). -* The boot screen of some CPS2 games has a blue background instead of black, - however that might be the correct behaviour. - Marvel Vs. Capcom * Sometimes currupt gfx are displayed on the 32x32 layer as the screen flashes at the start of super combo moves. The problem seems to be due to tiles being fetched before @@ -2441,7 +2438,21 @@ VIDEO_UPDATE( cps1 ) /* Blank screen */ - fillbitmap(bitmap,0xbff,cliprect); + if (cps_version == 1) + { + // CPS1 games use pen 0xbff as background color; this is used in 3wonders, + // mtwins (explosion during attract), mercs (intermission). + fillbitmap(bitmap,0xbff,cliprect); + } + else + { + // CPS2 apparently always force the background to black. Several games would + // should a blue screen during boot if we used the same code as CPS1. + // Maybe Capcom changed the background handling due to the problems that + // it caused on several monitors (because the background extended into the + // blanking area instead of going black, causing the monitor to clip). + fillbitmap(bitmap,get_black_pen(screen->machine),cliprect); + } cps1_render_stars(screen, bitmap,cliprect);