From 8259bc33acc1da7a3a5f2066a9b9b6e2a39802d1 Mon Sep 17 00:00:00 2001 From: alphanu1 <37101891+alphanu1@users.noreply.github.com> Date: Tue, 12 Feb 2019 15:59:53 +0000 Subject: [PATCH] CRT dynamic width changes --- gfx/video_crt_switch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 494315653c..afa3ac84b2 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -242,9 +242,9 @@ int crt_compute_dynamic_width(int width) { dynamic_width = (width*0.5)*i; if ((dynamic_width * min_height * ra_core_hz) > p_clock) - return dynamic_width; + break; } - return width; + return dynamic_width; } #if defined(HAVE_VIDEOCORE)