VidHD: fix minor junk on RHS (#1106)

This commit is contained in:
tomcw 2022-06-02 20:47:13 +01:00
parent 16f66da594
commit a41be14015
1 changed files with 2 additions and 0 deletions

View File

@ -662,6 +662,8 @@ inline void updateVideoScannerHorzEOLSimple()
{
if (VIDEO_SCANNER_MAX_HORZ == ++g_nVideoClockHorz)
{
*(uint32_t*)g_pVideoAddress++ = 0 | ALPHA32_MASK; // VT_COLOR_IDEALIZED: TEXT -> HGR can leave junk on RHS (GH#1106)
g_nVideoClockHorz = 0;
if (++g_nVideoClockVert == g_videoScannerMaxVert)