aboutsummaryrefslogtreecommitdiff
path: root/libretro.c
diff options
context:
space:
mode:
authortwinaphex2017-08-16 19:23:32 +0200
committertwinaphex2017-08-16 19:23:32 +0200
commit99aec328bd70fc74aae29d8c6ed29b29e18538a5 (patch)
treeb3c8772c76e6b275e2c1689dc5111eeb9e6098b0 /libretro.c
parent232f8097145a9e93147893550528374052e5523d (diff)
downloadsnes9x2005-99aec328bd70fc74aae29d8c6ed29b29e18538a5.tar.gz
snes9x2005-99aec328bd70fc74aae29d8c6ed29b29e18538a5.tar.bz2
snes9x2005-99aec328bd70fc74aae29d8c6ed29b29e18538a5.zip
buildfixes
Diffstat (limited to 'libretro.c')
-rw-r--r--libretro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libretro.c b/libretro.c
index 2bf94f2..5b31eac 100644
--- a/libretro.c
+++ b/libretro.c
@@ -300,6 +300,7 @@ void retro_init(void)
{
struct retro_log_callback log;
enum retro_pixel_format rgb565;
+ bool achievements = true;
static const struct retro_variable vars[] =
{
@@ -313,7 +314,6 @@ void retro_init(void)
log_cb = NULL;
/* State that the core supports achievements. */
- bool achievements = true;
environ_cb(RETRO_ENVIRONMENT_SET_SUPPORT_ACHIEVEMENTS, &achievements);
rgb565 = RETRO_PIXEL_FORMAT_RGB565;