diff options
author | Liam <byteslice@airmail.cc> | 2023-01-06 00:06:06 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-01-06 00:06:06 +0100 |
commit | 1ee0540f8294f3381b02ce5c113ec0c0149cf124 (patch) | |
tree | 72608fbb12d142509968f158e97f3731c6b2007b /src/core/arm/dynarmic/arm_dynarmic_32.cpp | |
parent | Merge pull request #9527 from Wollnashorn/amd-cache-fix (diff) | |
download | yuzu-1ee0540f8294f3381b02ce5c113ec0c0149cf124.tar yuzu-1ee0540f8294f3381b02ce5c113ec0c0149cf124.tar.gz yuzu-1ee0540f8294f3381b02ce5c113ec0c0149cf124.tar.bz2 yuzu-1ee0540f8294f3381b02ce5c113ec0c0149cf124.tar.lz yuzu-1ee0540f8294f3381b02ce5c113ec0c0149cf124.tar.xz yuzu-1ee0540f8294f3381b02ce5c113ec0c0149cf124.tar.zst yuzu-1ee0540f8294f3381b02ce5c113ec0c0149cf124.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_32.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp index 947747d36..2a7570073 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp @@ -229,7 +229,11 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable* config.enable_cycle_counting = true; // Code cache size +#ifdef ARCHITECTURE_arm64 + config.code_cache_size = 128_MiB; +#else config.code_cache_size = 512_MiB; +#endif // Allow memory fault handling to work if (system.DebuggerEnabled()) { |