summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-01-06 16:00:18 +0100
committerGitHub <noreply@github.com>2023-01-06 16:00:18 +0100
commit3c05988df279e3888f00cd8b5dcc31e849c6f080 (patch)
treef27e5206b5ae913d4375bd8423359bf071d0fd1f /src
parentMerge pull request #9558 from MonsterDruide1/network-timeout-noerror (diff)
parentexternals: update dynarmic, xbyak (diff)
downloadyuzu-3c05988df279e3888f00cd8b5dcc31e849c6f080.tar
yuzu-3c05988df279e3888f00cd8b5dcc31e849c6f080.tar.gz
yuzu-3c05988df279e3888f00cd8b5dcc31e849c6f080.tar.bz2
yuzu-3c05988df279e3888f00cd8b5dcc31e849c6f080.tar.lz
yuzu-3c05988df279e3888f00cd8b5dcc31e849c6f080.tar.xz
yuzu-3c05988df279e3888f00cd8b5dcc31e849c6f080.tar.zst
yuzu-3c05988df279e3888f00cd8b5dcc31e849c6f080.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, 8 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()) {
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
index 3df943df7..7229fdc2a 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
@@ -288,7 +288,11 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::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()) {