From c82d5b4ba31ae828cae27962f1a4d328fd4ea4da Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 31 Dec 2013 04:55:09 +0100 Subject: Fixed NEON GPU plugin for PC by using stdint.h types - use NEON GPU plugin for non-ARM targets now --- frontend/libretro.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'frontend/libretro.c') diff --git a/frontend/libretro.c b/frontend/libretro.c index 23eecf6..bce05e8 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -246,7 +246,7 @@ void retro_set_environment(retro_environment_t cb) #ifndef DRC_DISABLE { "rearmed_drc", "Dynamic recompiler; enabled|disabled" }, #endif -#ifdef __ARM_NEON__ +#if defined(__ARM_NEON__) || defined(NEON_PC) { "neon_interlace_enable", "Enable interlacing mode(s); disabled|enabled" }, { "neon_enhancement_enable", "Enhanced resolution (slow); disabled|enabled" }, { "neon_enhancement_no_main", "Enhanced resolution speed hack; disabled|enabled" }, @@ -800,7 +800,7 @@ static void update_variables(bool in_flight) in_type1 = PSE_PAD_TYPE_ANALOGPAD; } -#ifdef __ARM_NEON__ +#if defined(__ARM_NEON__) || defined(NEON_PC) var.value = "NULL"; var.key = "neon_interlace_enable"; @@ -834,6 +834,7 @@ static void update_variables(bool in_flight) pl_rearmed_cbs.gpu_neon.enhancement_no_main = 1; } #endif + #ifndef DRC_DISABLE var.value = NULL; var.key = "rearmed_drc"; -- cgit v1.2.3