summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2022-03-14 16:04:46 +0100
committerGitHub <noreply@github.com>2022-03-14 16:04:46 +0100
commit0331b8d7999efaffe138fad12c442120dca02bd0 (patch)
treed7ddcb263183c264e493728297c77e49ce8a2a40 /src
parentMerge pull request #8007 from ameerj/vs-2022-errors (diff)
parentdynarmic: Reduce size of code caches (diff)
downloadyuzu-0331b8d7999efaffe138fad12c442120dca02bd0.tar
yuzu-0331b8d7999efaffe138fad12c442120dca02bd0.tar.gz
yuzu-0331b8d7999efaffe138fad12c442120dca02bd0.tar.bz2
yuzu-0331b8d7999efaffe138fad12c442120dca02bd0.tar.lz
yuzu-0331b8d7999efaffe138fad12c442120dca02bd0.tar.xz
yuzu-0331b8d7999efaffe138fad12c442120dca02bd0.tar.zst
yuzu-0331b8d7999efaffe138fad12c442120dca02bd0.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_32.cpp4
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_64.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
index 286976623..c1c843b8f 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
@@ -148,8 +148,8 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable*
config.wall_clock_cntpct = uses_wall_clock;
// Code cache size
- config.code_cache_size = 512_MiB;
- config.far_code_offset = 400_MiB;
+ config.code_cache_size = 128_MiB;
+ config.far_code_offset = 100_MiB;
// Safe optimizations
if (Settings::values.cpu_debug_mode) {
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
index d96226c41..aa74fce4d 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
@@ -208,8 +208,8 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable*
config.wall_clock_cntpct = uses_wall_clock;
// Code cache size
- config.code_cache_size = 512_MiB;
- config.far_code_offset = 400_MiB;
+ config.code_cache_size = 128_MiB;
+ config.far_code_offset = 100_MiB;
// Safe optimizations
if (Settings::values.cpu_debug_mode) {