mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 19:42:56 +00: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 a new issue