dynarmic: Reduce size of code caches
This commit is contained in:
parent
27cc7b6a73
commit
220674d0d6
2 changed files with 4 additions and 4 deletions
|
@ -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