diff options
| author | 2016-09-01 23:18:01 -0400 | |
|---|---|---|
| committer | 2016-09-15 17:49:27 -0400 | |
| commit | 14085ec670330b72d897d19ee844da87402ef39c (patch) | |
| tree | 9333fe92f18a558da45ca0c4eb3444f026fb23e7 /src/citra_qt/config.cpp | |
| parent | dynarmic: Implement ARM CPU interface. (diff) | |
| download | yuzu-14085ec670330b72d897d19ee844da87402ef39c.tar.gz yuzu-14085ec670330b72d897d19ee844da87402ef39c.tar.xz yuzu-14085ec670330b72d897d19ee844da87402ef39c.zip | |
core: Add configuration option for CPU JIT.
Diffstat (limited to 'src/citra_qt/config.cpp')
| -rw-r--r-- | src/citra_qt/config.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp index fa3fa210c..cf1c09930 100644 --- a/src/citra_qt/config.cpp +++ b/src/citra_qt/config.cpp | |||
| @@ -41,6 +41,7 @@ void Config::ReadValues() { | |||
| 41 | qt_config->endGroup(); | 41 | qt_config->endGroup(); |
| 42 | 42 | ||
| 43 | qt_config->beginGroup("Core"); | 43 | qt_config->beginGroup("Core"); |
| 44 | Settings::values.use_cpu_jit = qt_config->value("use_cpu_jit", true).toBool(); | ||
| 44 | Settings::values.frame_skip = qt_config->value("frame_skip", 0).toInt(); | 45 | Settings::values.frame_skip = qt_config->value("frame_skip", 0).toInt(); |
| 45 | qt_config->endGroup(); | 46 | qt_config->endGroup(); |
| 46 | 47 | ||
| @@ -134,6 +135,7 @@ void Config::SaveValues() { | |||
| 134 | qt_config->endGroup(); | 135 | qt_config->endGroup(); |
| 135 | 136 | ||
| 136 | qt_config->beginGroup("Core"); | 137 | qt_config->beginGroup("Core"); |
| 138 | qt_config->setValue("use_cpu_jit", Settings::values.use_cpu_jit); | ||
| 137 | qt_config->setValue("frame_skip", Settings::values.frame_skip); | 139 | qt_config->setValue("frame_skip", Settings::values.frame_skip); |
| 138 | qt_config->endGroup(); | 140 | qt_config->endGroup(); |
| 139 | 141 | ||