From b41cca8553779c71aebf4e63644cae03496d25b2 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 12 Feb 2020 13:10:32 +0100 Subject: [PATCH] Silence some unused variable warnings --- frontend/libretro.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/libretro.c b/frontend/libretro.c index 3e2c64ae..cc443fed 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -93,8 +93,12 @@ static bool found_bios; static bool display_internal_fps = false; static unsigned frame_count = 0; static bool libretro_supports_bitmasks = false; +#ifdef GPU_PEOPS static int show_advanced_gpu_peops_settings = -1; +#endif +#ifdef GPU_UNAI static int show_advanced_gpu_unai_settings = -1; +#endif static unsigned previous_width = 0; static unsigned previous_height = 0; @@ -1612,7 +1616,9 @@ static void update_variables(bool in_flight) { struct retro_variable var; int i; +#ifdef GPU_PEOPS int gpu_peops_fix = 0; +#endif var.value = NULL; var.key = "pcsx_rearmed_frameskip"; -- 2.39.5