aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/yuzu/configuration/configure_debug.cpp
diff options
context:
space:
mode:
authorZach Hilman <[email protected]>2018-10-29 16:09:08 -0400
committerZach Hilman <[email protected]>2018-10-29 16:09:08 -0400
commit48eb3742b9f84108538e2a41019aa9d5d47f7352 (patch)
tree27b5ee039535f2357589052bc3021a8274ae47b3 /src/yuzu/configuration/configure_debug.cpp
parent9078bb9854cff3f77ac28a15dffff06bb31b3755 (diff)
downloadyuzu-android-48eb3742b9f84108538e2a41019aa9d5d47f7352.tar.gz
yuzu-android-48eb3742b9f84108538e2a41019aa9d5d47f7352.zip
settings: Add setting to control NSO dumping
Also adds UI option in Debug > Dump section, with the idea later things to be dumped (i.e. other game data or textures, etc) will use the same group box.
Diffstat (limited to 'src/yuzu/configuration/configure_debug.cpp')
-rw-r--r--src/yuzu/configuration/configure_debug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_debug.cpp b/src/yuzu/configuration/configure_debug.cpp
index 9e765fc93..fd5876b41 100644
--- a/src/yuzu/configuration/configure_debug.cpp
+++ b/src/yuzu/configuration/configure_debug.cpp
@@ -34,6 +34,7 @@ void ConfigureDebug::setConfiguration() {
ui->toggle_console->setChecked(UISettings::values.show_console);
ui->log_filter_edit->setText(QString::fromStdString(Settings::values.log_filter));
ui->homebrew_args_edit->setText(QString::fromStdString(Settings::values.program_args));
+ ui->dump_decompressed_nso->setChecked(Settings::values.dump_nso);
}
void ConfigureDebug::applyConfiguration() {
@@ -42,6 +43,7 @@ void ConfigureDebug::applyConfiguration() {
UISettings::values.show_console = ui->toggle_console->isChecked();
Settings::values.log_filter = ui->log_filter_edit->text().toStdString();
Settings::values.program_args = ui->homebrew_args_edit->text().toStdString();
+ Settings::values.dump_nso = ui->dump_decompressed_nso->isChecked();
Debugger::ToggleConsole();
Log::Filter filter;
filter.ParseFilterString(Settings::values.log_filter);