From be044c09dda27e88c5e1e93f8dbadafc898a311e Mon Sep 17 00:00:00 2001 From: LibretroAdmin Date: Tue, 13 Sep 2022 19:29:45 +0200 Subject: [PATCH] Disable Feral GameMode for Android - only available on Linux --- frontend/drivers/platform_unix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/drivers/platform_unix.c b/frontend/drivers/platform_unix.c index d807842af9..83ee972464 100644 --- a/frontend/drivers/platform_unix.c +++ b/frontend/drivers/platform_unix.c @@ -30,7 +30,7 @@ #ifdef __linux__ #include -#if __STDC_VERSION__ >= 199901L +#if __STDC_VERSION__ >= 199901L && !defined(ANDROID) #include "feralgamemode/gamemode_client.h" #define FERAL_GAMEMODE #endif @@ -2004,7 +2004,6 @@ static bool frontend_unix_set_gamemode(bool on) return true; #else - (void)on; return false; #endif }