aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authortwinaphex2020-02-12 13:10:32 +0100
committertwinaphex2020-02-12 13:10:32 +0100
commitb41cca8553779c71aebf4e63644cae03496d25b2 (patch)
tree10e582a64f6c9a68f00be6227f47888bc7aaa3c4 /frontend
parent4cb0b8cf7ae13f47983b46a9436a0a0a410c96b3 (diff)
downloadpcsx_rearmed-b41cca8553779c71aebf4e63644cae03496d25b2.tar.gz
pcsx_rearmed-b41cca8553779c71aebf4e63644cae03496d25b2.tar.bz2
pcsx_rearmed-b41cca8553779c71aebf4e63644cae03496d25b2.zip
Silence some unused variable warnings
Diffstat (limited to 'frontend')
-rw-r--r--frontend/libretro.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 3e2c64a..cc443fe 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";