From 9f0fb186bf6d768b4f38fc9c6f5be25cc7bed68f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 8 Feb 2017 06:54:35 +0100 Subject: [PATCH] Makes it compile on Linux --- libretro.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libretro.cpp b/libretro.cpp index 005b29ec..a83790fe 100644 --- a/libretro.cpp +++ b/libretro.cpp @@ -6,7 +6,9 @@ #include #include +#if defined(_WIN32) && !defined(_XBOX) #include +#endif #include "NDS.h" #include "GPU.h" #include "libretro.h" @@ -260,11 +262,6 @@ static void audio_set_state(bool enable) (void)enable; } -WORD red_mask = 0x7C00; -WORD green_mask = 0x3E0; -WORD blue_mask = 0x1F; - - void retro_run(void) { update_input();