mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
CPU/CodeCache: Fix incorrect macro for code buffer size
This commit is contained in:
parent
dfd6766411
commit
7ea78ad2df
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue