Extend quick fix for #341 (ANSI STORY - end credits)

This commit is contained in:
tomcw 2016-10-02 22:22:10 +01:00
parent 6f54078564
commit 3e51f2f02f
3 changed files with 9 additions and 1 deletions

View File

@ -1821,3 +1821,9 @@ void NTSC_VideoRedrawWholeScreen( void )
_ASSERT(currVideoClockHorz == g_nVideoClockHorz);
#endif
}
//===========================================================================
bool NTSC_GetColorBurst( void )
{
return (g_nColorBurstPixels < 2) ? false : true;
}

View File

@ -19,3 +19,4 @@
extern bool NTSC_VideoIsVbl();
extern void NTSC_VideoUpdateCycles( long cycles6502 );
extern void NTSC_VideoRedrawWholeScreen( void );
extern bool NTSC_GetColorBurst( void );

View File

@ -1223,7 +1223,8 @@ void VideoRefreshScreen ( int bVideoModeFlags, bool bRedrawWholeScreen /* =false
}
else if (g_eVideoType == VT_COLOR_MONITOR)
{
if ((g_uVideoMode & VF_TEXT) == 0)
//if ((g_uVideoMode & VF_TEXT) == 0)
if ( NTSC_GetColorBurst() == true ) // ANSI STORY (end credits): split DGR/TEXT80/DGR on scanline
xSrc += 2;
}
#endif