From 4452e300acfc0ceb76fab579c12915d70133ce92 Mon Sep 17 00:00:00 2001 From: Gliniak Date: Sat, 31 Aug 2024 21:46:43 +0200 Subject: [PATCH] [Emulator] Changed default config values for: - mount_cache: false -> true - framerate_limit: 60 -> 0 - font_size: 12 -> 14 - apu_max_queued_frames: 64 -> 8 --- src/xenia/app/xenia_main.cc | 4 +++- src/xenia/apu/audio_system.cc | 1 + src/xenia/base/cvar.h | 2 +- src/xenia/gpu/gpu_flags.cc | 3 ++- src/xenia/ui/imgui_drawer.cc | 3 ++- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/xenia/app/xenia_main.cc b/src/xenia/app/xenia_main.cc index 9dac67c0d..d9f5b84b4 100644 --- a/src/xenia/app/xenia_main.cc +++ b/src/xenia/app/xenia_main.cc @@ -90,7 +90,9 @@ DEFINE_path( "Storage"); DEFINE_bool(mount_scratch, false, "Enable scratch mount", "Storage"); -DEFINE_bool(mount_cache, false, "Enable cache mount", "Storage"); + +DEFINE_bool(mount_cache, true, "Enable cache mount", "Storage"); +UPDATE_from_bool(mount_cache, 2024, 8, 31, 20, false); DEFINE_transient_path(target, "", "Specifies the target .xex or .iso to execute.", diff --git a/src/xenia/apu/audio_system.cc b/src/xenia/apu/audio_system.cc index b49c8225a..047cc2924 100644 --- a/src/xenia/apu/audio_system.cc +++ b/src/xenia/apu/audio_system.cc @@ -40,6 +40,7 @@ DEFINE_uint32(apu_max_queued_frames, 8, "delay. Lowering this value might cause performance issues. " "Value range: [4-64]", "APU"); +UPDATE_from_uint32(apu_max_queued_frames, 2024, 8, 31, 20, 64); namespace xe { namespace apu { diff --git a/src/xenia/base/cvar.h b/src/xenia/base/cvar.h index b53c38398..5acb8f22c 100644 --- a/src/xenia/base/cvar.h +++ b/src/xenia/base/cvar.h @@ -490,7 +490,7 @@ class IConfigVarUpdate { // If you're reviewing a pull request with a change here, check if 1) has been // done by the submitter before merging. static constexpr uint32_t kLastCommittedUpdateDate = - MakeConfigVarUpdateDate(2020, 12, 31, 13); + MakeConfigVarUpdateDate(2024, 8, 31, 20); virtual ~IConfigVarUpdate() = default; diff --git a/src/xenia/gpu/gpu_flags.cc b/src/xenia/gpu/gpu_flags.cc index 1d57544ec..791ea1fdb 100644 --- a/src/xenia/gpu/gpu_flags.cc +++ b/src/xenia/gpu/gpu_flags.cc @@ -20,10 +20,11 @@ DEFINE_path( DEFINE_bool(vsync, true, "Enable VSYNC.", "GPU"); -DEFINE_uint64(framerate_limit, 60, +DEFINE_uint64(framerate_limit, 0, "Maximum frames per second. 0 = Unlimited frames.\n" "Defaults to 60, when set to 0, and VSYNC is enabled.", "GPU"); +UPDATE_from_uint64(framerate_limit, 2024, 8, 31, 20, 60); DEFINE_bool( gpu_allow_invalid_fetch_constants, true, diff --git a/src/xenia/ui/imgui_drawer.cc b/src/xenia/ui/imgui_drawer.cc index d9d5f6b9b..2f8f0b2fd 100644 --- a/src/xenia/ui/imgui_drawer.cc +++ b/src/xenia/ui/imgui_drawer.cc @@ -34,7 +34,8 @@ DEFINE_path( custom_font_path, "", "Allows user to load custom font and use it instead of default one.", "UI"); -DEFINE_uint32(font_size, 12, "Allows user to set custom font size.", "UI"); +DEFINE_uint32(font_size, 14, "Allows user to set custom font size.", "UI"); +UPDATE_from_uint32(font_size, 2024, 8, 31, 20, 12); namespace xe { namespace ui {