summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2019-09-21 12:09:55 +0200
committerGitHub <noreply@github.com>2019-09-21 12:09:55 +0200
commit183c445c30ad9fa1f58660ff578ecf1b78e51b25 (patch)
tree045c4a6945449d563ea420fbf5a4916cbde1f8b3 /src/yuzu_cmd
parentMerge pull request #2872 from FernandoS27/mem-gpu-opt (diff)
parentAddress review comments (diff)
downloadyuzu-183c445c30ad9fa1f58660ff578ecf1b78e51b25.tar
yuzu-183c445c30ad9fa1f58660ff578ecf1b78e51b25.tar.gz
yuzu-183c445c30ad9fa1f58660ff578ecf1b78e51b25.tar.bz2
yuzu-183c445c30ad9fa1f58660ff578ecf1b78e51b25.tar.lz
yuzu-183c445c30ad9fa1f58660ff578ecf1b78e51b25.tar.xz
yuzu-183c445c30ad9fa1f58660ff578ecf1b78e51b25.tar.zst
yuzu-183c445c30ad9fa1f58660ff578ecf1b78e51b25.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/config.cpp2
-rw-r--r--src/yuzu_cmd/default_ini.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 067d58d80..5cadfd191 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -374,6 +374,8 @@ void Config::ReadValues() {
Settings::values.use_dev_keys = sdl2_config->GetBoolean("Miscellaneous", "use_dev_keys", false);
// Debugging
+ Settings::values.record_frame_times =
+ sdl2_config->GetBoolean("Debugging", "record_frame_times", false);
Settings::values.use_gdbstub = sdl2_config->GetBoolean("Debugging", "use_gdbstub", false);
Settings::values.gdbstub_port =
static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689));
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index 0cfc111a6..f9f244522 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -213,6 +213,8 @@ region_value =
log_filter = *:Trace
[Debugging]
+# Record frame time data, can be found in the log directory. Boolean value
+record_frame_times =
# Port for listening to GDB connections.
use_gdbstub=false
gdbstub_port=24689