From 1eedb0406b2a95a4570fbd6121bc4e783f5d887f Mon Sep 17 00:00:00 2001 From: alphanu1 <37101891+alphanu1@users.noreply.github.com> Date: Sun, 29 Apr 2018 13:46:43 +0100 Subject: [PATCH] Linux switching incorporation --- gfx/video_crt_switch.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 00e2757ce1..e9b82f2644 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -48,22 +48,6 @@ static void crt_check_first_run(void) first_run = false; } -static void switch_crt_hz(void) -{ - if (ra_core_hz == ra_tmp_core_hz) - return; - - /* set hz float an int for windows switching */ - if (ra_core_hz < 53) - ra_set_core_hz = 50; - if (ra_core_hz >= 53 && ra_core_hz < 57) - ra_set_core_hz = 55; - if (ra_core_hz >= 57) - ra_set_core_hz = 60; - video_monitor_set_refresh_rate(ra_set_core_hz); - ra_tmp_core_hz = ra_core_hz; -} - static void crt_aspect_ratio_switch(unsigned width, unsigned height) { /* send aspect float to videeo_driver */ @@ -84,7 +68,6 @@ static void switch_res_crt(unsigned width, unsigned height) /* Create correct aspect to fit video if resolution does not exist */ static void crt_screen_setup_aspect(unsigned width, unsigned height) { - switch_crt_hz(); /* get original resolution of core */ if (height == 4)