mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-23 05:15:49 +01:00
Merge pull request #8016 from merryhime/kill-mem-use
dynarmic: Reduce size of code caches
This commit is contained in:
commit
0331b8d799
@ -148,8 +148,8 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable*
|
|||||||
config.wall_clock_cntpct = uses_wall_clock;
|
config.wall_clock_cntpct = uses_wall_clock;
|
||||||
|
|
||||||
// Code cache size
|
// Code cache size
|
||||||
config.code_cache_size = 512_MiB;
|
config.code_cache_size = 128_MiB;
|
||||||
config.far_code_offset = 400_MiB;
|
config.far_code_offset = 100_MiB;
|
||||||
|
|
||||||
// Safe optimizations
|
// Safe optimizations
|
||||||
if (Settings::values.cpu_debug_mode) {
|
if (Settings::values.cpu_debug_mode) {
|
||||||
|
@ -208,8 +208,8 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable*
|
|||||||
config.wall_clock_cntpct = uses_wall_clock;
|
config.wall_clock_cntpct = uses_wall_clock;
|
||||||
|
|
||||||
// Code cache size
|
// Code cache size
|
||||||
config.code_cache_size = 512_MiB;
|
config.code_cache_size = 128_MiB;
|
||||||
config.far_code_offset = 400_MiB;
|
config.far_code_offset = 100_MiB;
|
||||||
|
|
||||||
// Safe optimizations
|
// Safe optimizations
|
||||||
if (Settings::values.cpu_debug_mode) {
|
if (Settings::values.cpu_debug_mode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user