mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 01:00:14 +02:00
Disable FPS display by default and update related configuration
This commit is contained in:
1 parent
49dcd29934
commit
59c0e00d3b
2 files changed
+4
-3
No files matched your search
@@ -454,7 +454,7 @@ inline void EnsureConfigFile() {
|
||||
"graphics_api = \"auto\"\n"
|
||||
"skip_unready_pipelines = true\n"
|
||||
"disable_copy_filter = true\n"
|
||||
"show_fps = true\n"
|
||||
"show_fps = false\n"
|
||||
"# Run the host side of the GX pipeline (state tracking, FIFO parsing,\n"
|
||||
"# texture uploads) on its own thread. On by default on the Quest, where\n"
|
||||
"# the game thread is the bottleneck; opt-in elsewhere.\n"
|
||||
@@ -1472,7 +1472,8 @@ inline bool DisableCopyFilter(bool fallback = true) {
|
||||
return Get().disableCopyFilter.value_or(fallback);
|
||||
}
|
||||
|
||||
inline bool ShowFps(bool fallback = true) {
|
||||
// The counter is a diagnostic, so it starts off and the F10 bar turns it on.
|
||||
inline bool ShowFps(bool fallback = false) {
|
||||
return Get().showFps.value_or(fallback);
|
||||
}
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ int g_displayMode = [] {
|
||||
}();
|
||||
bool g_skipUnreadyPipelines = RuntimeConfigFile::SkipUnreadyPipelines(true);
|
||||
bool g_disableCopyFilter = RuntimeConfigFile::DisableCopyFilter(true);
|
||||
bool g_showFps = RuntimeConfigFile::ShowFps(true);
|
||||
bool g_showFps = RuntimeConfigFile::ShowFps();
|
||||
// The same default the VR path itself takes (kVrEnabledDefault), so the F10 switch
|
||||
// shows what an unconfigured installation actually starts in.
|
||||
bool g_vrEnabled = RuntimeConfigFile::VrEnabled(true);
|
||||
|
||||
Reference in new issue
Block a user