From 7ea78ad2df203215d6f564607947e5a12d653090 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 20 Jul 2021 00:00:43 +1000 Subject: [PATCH] CPU/CodeCache: Fix incorrect macro for code buffer size --- src/core/cpu_code_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cpu_code_cache.cpp b/src/core/cpu_code_cache.cpp index 839a056c0..1b5c77e9d 100644 --- a/src/core/cpu_code_cache.cpp +++ b/src/core/cpu_code_cache.cpp @@ -29,7 +29,7 @@ static constexpr u32 RECOMPILE_COUNT_TO_FALL_BACK_TO_INTERPRETER = 20; #define USE_STATIC_CODE_BUFFER 1 #endif -#if defined(AARCH32) +#if defined(CPU_AARCH32) // Use a smaller code buffer size on AArch32 to have a better chance of being in range. static constexpr u32 RECOMPILER_CODE_CACHE_SIZE = 16 * 1024 * 1024; static constexpr u32 RECOMPILER_FAR_CODE_CACHE_SIZE = 8 * 1024 * 1024;