From 2be8f8628642e860e7ace9c560c387f243a1a3fb Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 29 Aug 2020 08:18:54 -0700 Subject: [PATCH] GPU: Avoid compile error if ARM64=1 specified. If it's specified, but incorrect, we would compile incorrectly. We're moving away from it anyway. --- GPU/Common/TextureDecoder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GPU/Common/TextureDecoder.h b/GPU/Common/TextureDecoder.h index 803c6c3929..02e7939cdc 100644 --- a/GPU/Common/TextureDecoder.h +++ b/GPU/Common/TextureDecoder.h @@ -23,6 +23,7 @@ enum CheckAlphaResult { CHECKALPHA_ANY = 4, }; +#include "ppsspp_config.h" #include "Common/Common.h" #include "Common/Swap.h" #include "Core/MemMap.h" @@ -46,7 +47,7 @@ void DoUnswizzleTex16Basic(const u8 *texptr, u32 *ydestp, int bxc, int byc, u32 #define DoUnswizzleTex16 DoUnswizzleTex16Basic // For ARM64, NEON is mandatory, so we also statically link. -#elif PPSSPP_ARCH(ARM64) || defined(ARM64) +#elif PPSSPP_ARCH(ARM64) #define DoQuickTexHash QuickTexHashNEON #define StableQuickTexHash QuickTexHashNEON #define DoUnswizzleTex16 DoUnswizzleTex16NEON