diff options
author | bunnei <bunneidev@gmail.com> | 2015-11-12 05:21:31 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-11-12 05:21:31 +0100 |
commit | 43bb29edc5a07ee290a462dc72743d96eaadd70d (patch) | |
tree | c42780b313be023001c41c32a6f6090fe93c2afe /src/citra_qt/config.cpp | |
parent | Merge pull request #1236 from Subv/log_overflow (diff) | |
parent | Fix bug with reading addresses and lengths (diff) | |
download | yuzu-43bb29edc5a07ee290a462dc72743d96eaadd70d.tar yuzu-43bb29edc5a07ee290a462dc72743d96eaadd70d.tar.gz yuzu-43bb29edc5a07ee290a462dc72743d96eaadd70d.tar.bz2 yuzu-43bb29edc5a07ee290a462dc72743d96eaadd70d.tar.lz yuzu-43bb29edc5a07ee290a462dc72743d96eaadd70d.tar.xz yuzu-43bb29edc5a07ee290a462dc72743d96eaadd70d.tar.zst yuzu-43bb29edc5a07ee290a462dc72743d96eaadd70d.zip |
Diffstat (limited to 'src/citra_qt/config.cpp')
-rw-r--r-- | src/citra_qt/config.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp index 1f4981ce1..8e247ff5c 100644 --- a/src/citra_qt/config.cpp +++ b/src/citra_qt/config.cpp @@ -62,6 +62,11 @@ void Config::ReadValues() { qt_config->beginGroup("Miscellaneous"); Settings::values.log_filter = qt_config->value("log_filter", "*:Info").toString().toStdString(); qt_config->endGroup(); + + qt_config->beginGroup("Debugging"); + Settings::values.use_gdbstub = qt_config->value("use_gdbstub", false).toBool(); + Settings::values.gdbstub_port = qt_config->value("gdbstub_port", 24689).toInt(); + qt_config->endGroup(); } void Config::SaveValues() { @@ -97,6 +102,11 @@ void Config::SaveValues() { qt_config->beginGroup("Miscellaneous"); qt_config->setValue("log_filter", QString::fromStdString(Settings::values.log_filter)); qt_config->endGroup(); + + qt_config->beginGroup("Debugging"); + qt_config->setValue("use_gdbstub", Settings::values.use_gdbstub); + qt_config->setValue("gdbstub_port", Settings::values.gdbstub_port); + qt_config->endGroup(); } void Config::Reload() { |