mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
settings: Add 'Reporting Services' config option
Full enable/disable for all reports.
This commit is contained in:
parent
5574be21cc
commit
658d2ee97d
3 changed files with 12 additions and 9 deletions
|
@ -416,6 +416,7 @@ struct Values {
|
|||
std::string program_args;
|
||||
bool dump_exefs;
|
||||
bool dump_nso;
|
||||
bool reporting_services;
|
||||
|
||||
// WebService
|
||||
bool enable_telemetry;
|
||||
|
|
|
@ -473,7 +473,7 @@ void Config::ReadDebuggingValues() {
|
|||
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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue