From d3a2f2f9214f3d4c69ce9452a8e193f355e60855 Mon Sep 17 00:00:00 2001 From: alphanu1 Date: Tue, 28 Jul 2020 18:43:29 +0100 Subject: [PATCH] Update video_crt_switch.c Fixed infinate switching bug --- gfx/video_crt_switch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 15bbda1d8e..5c25f3de08 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -243,6 +243,7 @@ void crt_switch_res_core( p_switch->ra_tmp_height = p_switch->ra_core_height; p_switch->ra_tmp_width = p_switch->ra_core_width; p_switch->tmp_center_adjust = p_switch->center_adjust; + p_switch->tmp_porch_adjust = p_switch->porch_adjust; /* Check if aspect is correct, if not change */ if (video_driver_get_aspect_ratio() != p_switch->fly_aspect)