From 6aa072b6cf06bb3dd1eccb3f9bb2134964cb7921 Mon Sep 17 00:00:00 2001 From: alphanu1 <37101891+alphanu1@users.noreply.github.com> Date: Sat, 28 Apr 2018 20:52:24 +0100 Subject: [PATCH] Restore resolution fix --- gfx/video_crt_switch.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 754776ca09..00e2757ce1 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -43,7 +43,7 @@ static void crt_check_first_run(void) if (!first_run) return; - video_display_server_get_current_resolution(&orig_width, &orig_height); + first_run = false; } @@ -178,8 +178,5 @@ void crt_video_restore(void) if (first_run) return; - video_display_server_switch_resolution(orig_width, orig_height, - 0, 60); - - first_run = true; + first_run = true; }