From 693ce4d78fd832981eb1efb9207c532e9325d4de Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 8 May 2014 02:32:39 +0200 Subject: [PATCH] Do AV change only for vertical resolution changes - RETRO_SET_SYSTEM_AV_INFO is way too expensive to be abused like this - this is causing flashing in fullscreen mode for some video drivers --- libretro/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index 6da64b5..1c4aa6e 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -475,7 +475,7 @@ static bool update_viewport(void) vheight = vheight * 2; } - return ((ow != vwidth) || (oh != vheight)); + return (oh != vheight); } static void check_variables(void)