CPU/CodeCache: Fix incorrect macro for code buffer size

This commit is contained in:
Connor McLaughlin 2021-07-20 00:00:43 +10:00
parent dfd6766411
commit 7ea78ad2df

View file

@ -29,7 +29,7 @@ static constexpr u32 RECOMPILE_COUNT_TO_FALL_BACK_TO_INTERPRETER = 20;
#define USE_STATIC_CODE_BUFFER 1 #define USE_STATIC_CODE_BUFFER 1
#endif #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. // 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_CODE_CACHE_SIZE = 16 * 1024 * 1024;
static constexpr u32 RECOMPILER_FAR_CODE_CACHE_SIZE = 8 * 1024 * 1024; static constexpr u32 RECOMPILER_FAR_CODE_CACHE_SIZE = 8 * 1024 * 1024;