From e880a3b248ffc25386402f0b53e7ce8b6ab23b04 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 7 Sep 2016 13:53:46 +0200 Subject: [PATCH] vfilter is for Wii/Gekko only --- config.def.h | 2 ++ gfx/video_driver.h | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index b4273caf8b..de123e6b54 100644 --- a/config.def.h +++ b/config.def.h @@ -468,8 +468,10 @@ static const bool video_shared_context = false; /* Sets GC/Wii screen width. */ static const unsigned video_viwidth = 640; +#ifdef GEKKO /* Removes 480i flicker, smooths picture a little. */ static const bool video_vfilter = true; +#endif /* Smooths picture. */ static const bool video_smooth = true; diff --git a/gfx/video_driver.h b/gfx/video_driver.h index eb51b2e16c..5e0c0affe2 100644 --- a/gfx/video_driver.h +++ b/gfx/video_driver.h @@ -102,9 +102,13 @@ typedef struct video_info * kind of publicly accessible driver implementation * video struct for specific things like this. */ + + /* Wii-specific settings. Ignored for everything else. */ unsigned viwidth; -#endif bool vfilter; +#endif + /* If true, applies bilinear filtering to the image, + * otherwise nearest filtering. */ bool smooth; /* Maximum input size: RARCH_SCALE_BASE * input_scale */ unsigned input_scale;