From 924fcc28348cd0bcd24e5c2251b8eaf0144a9846 Mon Sep 17 00:00:00 2001 From: alphanu1 <37101891+alphanu1@users.noreply.github.com> Date: Tue, 12 Feb 2019 10:26:17 +0000 Subject: [PATCH] Fix build warnings and cleanup --- gfx/video_crt_switch.c | 2 +- gfx/video_crt_switch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 22f0cc3191..35586ab9dd 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -229,7 +229,7 @@ void crt_video_restore(void) first_run = true; } -static int crt_compute_dynamic_width(int width) +int crt_compute_dynamic_width(int width) { double p_clock = 18000000; int min_height = 261; diff --git a/gfx/video_crt_switch.h b/gfx/video_crt_switch.h index 20634f7ed6..7e3c9541e9 100644 --- a/gfx/video_crt_switch.h +++ b/gfx/video_crt_switch.h @@ -33,7 +33,7 @@ void crt_aspect_ratio_switch(unsigned width, unsigned height); void crt_video_restore(void); -static int crt_compute_dynamic_width(int width); +int crt_compute_dynamic_width(int width); RETRO_END_DECLS