summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2019-08-26 17:29:08 +0200
committerFearlessTobi <thm.frey@gmail.com>2019-09-10 12:44:19 +0200
commit684b616f0d6445b753dded31554e0b006b6d2c3e (patch)
tree6caaae05a26149df5919a3876c1b0b4b4789614d /src/yuzu_cmd
parentMerge pull request #2847 from VelocityRa/nro-nacp-fix (diff)
downloadyuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.tar
yuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.tar.gz
yuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.tar.bz2
yuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.tar.lz
yuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.tar.xz
yuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.tar.zst
yuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.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