From 5df685fa078442e28304e5d2ffc3a16fbd0854df Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Thu, 3 Nov 2016 22:21:25 +0100 Subject: [PATCH] Fix another couple of arch define things --- Core/MIPS/JitCommon/JitState.cpp | 2 +- GPU/Common/TextureDecoderNEON.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/MIPS/JitCommon/JitState.cpp b/Core/MIPS/JitCommon/JitState.cpp index 381e32347b..1d147d4c17 100644 --- a/Core/MIPS/JitCommon/JitState.cpp +++ b/Core/MIPS/JitCommon/JitState.cpp @@ -51,7 +51,7 @@ namespace MIPSComp { continueMaxInstructions = 300; useStaticAlloc = false; -#ifdef ARM64 +#if PPSSPP_ARCH(ARM64) useStaticAlloc = true; #endif } diff --git a/GPU/Common/TextureDecoderNEON.cpp b/GPU/Common/TextureDecoderNEON.cpp index d407d7ee56..ef09e97255 100644 --- a/GPU/Common/TextureDecoderNEON.cpp +++ b/GPU/Common/TextureDecoderNEON.cpp @@ -30,7 +30,7 @@ u32 QuickTexHashNEON(const void *checkp, u32 size) { __builtin_prefetch(checkp, 0, 0); if (((intptr_t)checkp & 0xf) == 0 && (size & 0x3f) == 0) { -#if defined(IOS) || defined(ARM64) +#if defined(IOS) || PPSSPP_ARCH(ARM64) uint32x4_t cursor = vdupq_n_u32(0); uint16x8_t cursor2 = vld1q_u16(QuickTexHashInitial); uint16x8_t update = vdupq_n_u16(0x2455U);