settings: Add 'Reporting Services' config option
Full enable/disable for all reports.
This commit is contained in:
parent
5574be21cc
commit
658d2ee97d
|
@ -416,6 +416,7 @@ struct Values {
|
||||||
std::string program_args;
|
std::string program_args;
|
||||||
bool dump_exefs;
|
bool dump_exefs;
|
||||||
bool dump_nso;
|
bool dump_nso;
|
||||||
|
bool reporting_services;
|
||||||
|
|
||||||
// WebService
|
// WebService
|
||||||
bool enable_telemetry;
|
bool enable_telemetry;
|
||||||
|
|
|
@ -465,16 +465,16 @@ void Config::ReadDataStorageValues() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Config::ReadDebuggingValues() {
|
void Config::ReadDebuggingValues() {
|
||||||
qt_config->beginGroup(QStringLiteral("Debugging"));
|
qt_config->beginGroup(QStringLiteral("Debugging"));
|
||||||
|
|
||||||
Settings::values.use_gdbstub = ReadSetting(QStringLiteral("use_gdbstub"), false).toBool();
|
Settings::values.use_gdbstub = ReadSetting(QStringLiteral("use_gdbstub"), false).toBool();
|
||||||
Settings::values.gdbstub_port = ReadSetting(QStringLiteral("gdbstub_port"), 24689).toInt();
|
Settings::values.gdbstub_port = ReadSetting(QStringLiteral("gdbstub_port"), 24689).toInt();
|
||||||
Settings::values.program_args =
|
Settings::values.program_args =
|
||||||
ReadSetting(QStringLiteral("program_args"), QStringLiteral("")).toString().toStdString();
|
ReadSetting(QStringLiteral("program_args"), QStringLiteral("")).toString().toStdString();
|
||||||
Settings::values.dump_exefs = ReadSetting(QStringLiteral("dump_exefs"), false).toBool();
|
Settings::values.dump_exefs = ReadSetting(QStringLiteral("dump_exefs"), false).toBool();
|
||||||
Settings::values.dump_nso = ReadSetting(QStringLiteral("dump_nso"), false).toBool();
|
Settings::values.dump_nso = ReadSetting(QStringLiteral("dump_nso"), false).toBool();
|
||||||
|
Settings::values.reporting_services = ReadSetting("reporting_services", false).toBool();
|
||||||
qt_config->endGroup();
|
qt_config->endGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Config::ReadDisabledAddOnValues() {
|
void Config::ReadDisabledAddOnValues() {
|
||||||
|
|
|
@ -383,6 +383,8 @@ void Config::ReadValues() {
|
||||||
Settings::values.program_args = sdl2_config->Get("Debugging", "program_args", "");
|
Settings::values.program_args = sdl2_config->Get("Debugging", "program_args", "");
|
||||||
Settings::values.dump_exefs = sdl2_config->GetBoolean("Debugging", "dump_exefs", false);
|
Settings::values.dump_exefs = sdl2_config->GetBoolean("Debugging", "dump_exefs", false);
|
||||||
Settings::values.dump_nso = sdl2_config->GetBoolean("Debugging", "dump_nso", 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", "");
|
const auto title_list = sdl2_config->Get("AddOns", "title_ids", "");
|
||||||
std::stringstream ss(title_list);
|
std::stringstream ss(title_list);
|
||||||
|
|
Reference in New Issue