diff options
| author | 2018-01-11 19:21:20 -0700 | |
|---|---|---|
| committer | 2018-01-12 19:11:03 -0700 | |
| commit | ebf9a784a9f7f4148a669dbb39e7cd50df779a14 (patch) | |
| tree | d585685a1c0a34b903af1d086d62560bf56bb29f /src/citra_qt/configuration/configure_debug.cpp | |
| parent | config: Default CPU core to Unicorn. (diff) | |
| download | yuzu-ebf9a784a9f7f4148a669dbb39e7cd50df779a14.tar.gz yuzu-ebf9a784a9f7f4148a669dbb39e7cd50df779a14.tar.xz yuzu-ebf9a784a9f7f4148a669dbb39e7cd50df779a14.zip | |
Massive removal of unused modules
Diffstat (limited to 'src/citra_qt/configuration/configure_debug.cpp')
| -rw-r--r-- | src/citra_qt/configuration/configure_debug.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/citra_qt/configuration/configure_debug.cpp b/src/citra_qt/configuration/configure_debug.cpp deleted file mode 100644 index 263f73f38..000000000 --- a/src/citra_qt/configuration/configure_debug.cpp +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "citra_qt/configuration/configure_debug.h" | ||
| 6 | #include "core/settings.h" | ||
| 7 | #include "ui_configure_debug.h" | ||
| 8 | |||
| 9 | ConfigureDebug::ConfigureDebug(QWidget* parent) : QWidget(parent), ui(new Ui::ConfigureDebug) { | ||
| 10 | ui->setupUi(this); | ||
| 11 | this->setConfiguration(); | ||
| 12 | } | ||
| 13 | |||
| 14 | ConfigureDebug::~ConfigureDebug() {} | ||
| 15 | |||
| 16 | void ConfigureDebug::setConfiguration() { | ||
| 17 | ui->toggle_gdbstub->setChecked(Settings::values.use_gdbstub); | ||
| 18 | ui->gdbport_spinbox->setEnabled(Settings::values.use_gdbstub); | ||
| 19 | ui->gdbport_spinbox->setValue(Settings::values.gdbstub_port); | ||
| 20 | } | ||
| 21 | |||
| 22 | void ConfigureDebug::applyConfiguration() { | ||
| 23 | Settings::values.use_gdbstub = ui->toggle_gdbstub->isChecked(); | ||
| 24 | Settings::values.gdbstub_port = ui->gdbport_spinbox->value(); | ||
| 25 | Settings::Apply(); | ||
| 26 | } | ||