summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-18 03:44:28 +0200
committerZach Hilman <zachhilman@gmail.com>2019-05-25 22:09:20 +0200
commit658d2ee97d855634d9ecf7ce31b5a3668bc57b37 (patch)
treea1b213fa74da69cdcc95992957e45992343f4f18 /src
parentarm_interface: Expand backtrace generation (diff)
downloadyuzu-658d2ee97d855634d9ecf7ce31b5a3668bc57b37.tar
yuzu-658d2ee97d855634d9ecf7ce31b5a3668bc57b37.tar.gz
yuzu-658d2ee97d855634d9ecf7ce31b5a3668bc57b37.tar.bz2
yuzu-658d2ee97d855634d9ecf7ce31b5a3668bc57b37.tar.lz
yuzu-658d2ee97d855634d9ecf7ce31b5a3668bc57b37.tar.xz
yuzu-658d2ee97d855634d9ecf7ce31b5a3668bc57b37.tar.zst
yuzu-658d2ee97d855634d9ecf7ce31b5a3668bc57b37.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/settings.h1
-rw-r--r--src/yuzu/configuration/config.cpp20
-rw-r--r--src/yuzu_cmd/config.cpp2
3 files changed, 13 insertions, 10 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index 5ff3634aa..fe6b26ef0 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -416,6 +416,7 @@ struct Values {
std::string program_args;
bool dump_exefs;
bool dump_nso;
+ bool reporting_services;
// WebService
bool enable_telemetry;
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index db27da23e..ed14474aa 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -465,16 +465,16 @@ void Config::ReadDataStorageValues() {
}
void Config::ReadDebuggingValues() {
- qt_config->beginGroup(QStringLiteral("Debugging"));
-
- Settings::values.use_gdbstub = ReadSetting(QStringLiteral("use_gdbstub"), false).toBool();
- Settings::values.gdbstub_port = ReadSetting(QStringLiteral("gdbstub_port"), 24689).toInt();
- Settings::values.program_args =
- ReadSetting(QStringLiteral("program_args"), QStringLiteral("")).toString().toStdString();
- Settings::values.dump_exefs = ReadSetting(QStringLiteral("dump_exefs"), false).toBool();
- Settings::values.dump_nso = ReadSetting(QStringLiteral("dump_nso"), false).toBool();
-
- qt_config->endGroup();
+ qt_config->beginGroup(QStringLiteral("Debugging"));
+
+ Settings::values.use_gdbstub = ReadSetting(QStringLiteral("use_gdbstub"), false).toBool();
+ Settings::values.gdbstub_port = ReadSetting(QStringLiteral("gdbstub_port"), 24689).toInt();
+ Settings::values.program_args =
+ ReadSetting(QStringLiteral("program_args"), QStringLiteral("")).toString().toStdString();
+ Settings::values.dump_exefs = ReadSetting(QStringLiteral("dump_exefs"), false).toBool();
+ Settings::values.dump_nso = ReadSetting(QStringLiteral("dump_nso"), false).toBool();
+ Settings::values.reporting_services = ReadSetting("reporting_services", false).toBool();
+ qt_config->endGroup();
}
void Config::ReadDisabledAddOnValues() {
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index d0ae058fd..6c13e91e7 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -383,6 +383,8 @@ void Config::ReadValues() {
Settings::values.program_args = sdl2_config->Get("Debugging", "program_args", "");
Settings::values.dump_exefs = sdl2_config->GetBoolean("Debugging", "dump_exefs", false);
Settings::values.dump_nso = sdl2_config->GetBoolean("Debugging", "dump_nso", false);
+ Settings::values.reporting_services =
+ sdl2_config->GetBoolean("Debugging", "reporting_services", false);
const auto title_list = sdl2_config->Get("AddOns", "title_ids", "");
std::stringstream ss(title_list);