From: twinaphex Date: Wed, 12 Feb 2020 12:10:32 +0000 (+0100) Subject: Silence some unused variable warnings X-Git-Tag: r24l~665 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b41cca8553779c71aebf4e63644cae03496d25b2;p=pcsx_rearmed.git Silence some unused variable warnings --- 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";