From 259472a877be4373396f4b75680d4d3cf83f6147 Mon Sep 17 00:00:00 2001 From: tomcw Date: Sun, 2 Oct 2022 21:52:13 +0100 Subject: [PATCH] Fix for Rainbow demo for 50Hz/PAL Color Monitor. (fixes #1131) --- source/NTSC.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/NTSC.cpp b/source/NTSC.cpp index 5dcd5aa9..aa206104 100644 --- a/source/NTSC.cpp +++ b/source/NTSC.cpp @@ -2038,7 +2038,8 @@ void NTSC_SetVideoMode( uint32_t uVideoModeFlags, bool bDelay/*=false*/ ) } else { - g_nColorBurstPixels = 1024; // (For mid-line video mode change) + if (!g_nVideoMixed || g_nVideoClockVert < VIDEO_SCANNER_Y_MIXED) // 50HZ(PAL) will kill color-burst if 'mixed and >=160' - so don't re-enable color-burst! (GH#1131) + g_nColorBurstPixels = 1024; // (For mid-line video mode change) // Switching mid-line from TEXT to graphics if (GetVideo().GetVideoType() == VT_COLOR_MONITOR_NTSC &&