summaryrefslogtreecommitdiff
path: root/libretro.c
diff options
context:
space:
mode:
Diffstat (limited to 'libretro.c')
-rw-r--r--libretro.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libretro.c b/libretro.c
index 575441a..6790982 100644
--- a/libretro.c
+++ b/libretro.c
@@ -120,6 +120,7 @@ static inline void deinit_context_switch(void)
co_delete(cpu_thread);
}
+#if defined(PSP)
static uint32_t next_pow2(uint32_t v)
{
v--;
@@ -131,6 +132,7 @@ static uint32_t next_pow2(uint32_t v)
v++;
return v;
}
+#endif
/* Video post processing START */