From 11b0fe2a970af43b233cb716681f175617208c24 Mon Sep 17 00:00:00 2001 From: alphanu1 <37101891+alphanu1@users.noreply.github.com> Date: Tue, 1 May 2018 20:28:01 +0100 Subject: [PATCH] Linux resolution improvements for CRT --- gfx/video_crt_switch.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 07ce0c76a6..126fe7d8cf 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -145,6 +145,11 @@ static void crt_screen_setup_aspect(unsigned width, unsigned height) crt_aspect_ratio_switch(width, height); height = 254; } + if (width < 300) + { + width = width*2; + crt_aspect_ratio_switch(width, height); + { switch_res_crt(width, height); }