mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 07:50:06 +00:00
arm_dynarmic: Increase size of code cache
This commit is contained in:
parent
94d77d0e39
commit
0fbd7752c3
2
externals/dynarmic
vendored
2
externals/dynarmic
vendored
@ -1 +1 @@
|
|||||||
Subproject commit d0372aebafcb02e6857ba1fc8e01bfadfcf30f92
|
Subproject commit c788bcdf17e6bc1d1a1dd315106b952013f5ecb8
|
@ -137,6 +137,10 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable*
|
|||||||
// Timing
|
// Timing
|
||||||
config.wall_clock_cntpct = uses_wall_clock;
|
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
|
// Safe optimizations
|
||||||
if (Settings::values.cpu_accuracy == Settings::CPUAccuracy::DebugMode) {
|
if (Settings::values.cpu_accuracy == Settings::CPUAccuracy::DebugMode) {
|
||||||
if (!Settings::values.cpuopt_page_tables) {
|
if (!Settings::values.cpuopt_page_tables) {
|
||||||
|
@ -177,6 +177,10 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable*
|
|||||||
// Timing
|
// Timing
|
||||||
config.wall_clock_cntpct = uses_wall_clock;
|
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
|
// Safe optimizations
|
||||||
if (Settings::values.cpu_accuracy == Settings::CPUAccuracy::DebugMode) {
|
if (Settings::values.cpu_accuracy == Settings::CPUAccuracy::DebugMode) {
|
||||||
if (!Settings::values.cpuopt_page_tables) {
|
if (!Settings::values.cpuopt_page_tables) {
|
||||||
|
Loading…
Reference in New Issue
Block a user