diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2021-04-02 19:08:39 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2021-04-02 19:09:15 +0200 |
commit | 0fbd7752c3a946f6aade3a38c5594a724b060479 (patch) | |
tree | 8d2e580b8fc42c88414d3382ffbe0e3b3afef273 /src/core/arm/dynarmic | |
parent | Merge pull request #6129 from degasus/cmake_libzip (diff) | |
download | yuzu-0fbd7752c3a946f6aade3a38c5594a724b060479.tar yuzu-0fbd7752c3a946f6aade3a38c5594a724b060479.tar.gz yuzu-0fbd7752c3a946f6aade3a38c5594a724b060479.tar.bz2 yuzu-0fbd7752c3a946f6aade3a38c5594a724b060479.tar.lz yuzu-0fbd7752c3a946f6aade3a38c5594a724b060479.tar.xz yuzu-0fbd7752c3a946f6aade3a38c5594a724b060479.tar.zst yuzu-0fbd7752c3a946f6aade3a38c5594a724b060479.zip |
Diffstat (limited to 'src/core/arm/dynarmic')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_32.cpp | 4 | ||||
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_64.cpp | 4 |
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 4b2a62b4f..08d889135 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp @@ -137,6 +137,10 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable* // Timing config.wall_clock_cntpct = uses_wall_clock; + // Code cache size + config.code_cache_size = 512 * 1024 * 1024; + config.far_code_offset = 256 * 1024 * 1024; + // Safe optimizations if (Settings::values.cpu_accuracy == Settings::CPUAccuracy::DebugMode) { if (!Settings::values.cpuopt_page_tables) { diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp index 083c2bdee..e12e50658 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp @@ -177,6 +177,10 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable* // Timing config.wall_clock_cntpct = uses_wall_clock; + // Code cache size + config.code_cache_size = 512 * 1024 * 1024; + config.far_code_offset = 256 * 1024 * 1024; + // Safe optimizations if (Settings::values.cpu_accuracy == Settings::CPUAccuracy::DebugMode) { if (!Settings::values.cpuopt_page_tables) { |