diff options
| -rw-r--r-- | src/yuzu/configuration/qt_config.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/configuration/qt_config.cpp b/src/yuzu/configuration/qt_config.cpp index 417a43ec5..a71000b72 100644 --- a/src/yuzu/configuration/qt_config.cpp +++ b/src/yuzu/configuration/qt_config.cpp | |||
| @@ -225,6 +225,8 @@ void QtConfig::ReadPathValues() { | |||
| 225 | QString::fromStdString(ReadStringSetting(std::string("recentFiles"))) | 225 | QString::fromStdString(ReadStringSetting(std::string("recentFiles"))) |
| 226 | .split(QStringLiteral(", "), Qt::SkipEmptyParts, Qt::CaseSensitive); | 226 | .split(QStringLiteral(", "), Qt::SkipEmptyParts, Qt::CaseSensitive); |
| 227 | 227 | ||
| 228 | ReadCategory(Settings::Category::Paths); | ||
| 229 | |||
| 228 | EndGroup(); | 230 | EndGroup(); |
| 229 | } | 231 | } |
| 230 | 232 | ||
| @@ -405,6 +407,8 @@ void QtConfig::SaveQtControlValues() { | |||
| 405 | void QtConfig::SavePathValues() { | 407 | void QtConfig::SavePathValues() { |
| 406 | BeginGroup(Settings::TranslateCategory(Settings::Category::Paths)); | 408 | BeginGroup(Settings::TranslateCategory(Settings::Category::Paths)); |
| 407 | 409 | ||
| 410 | WriteCategory(Settings::Category::Paths); | ||
| 411 | |||
| 408 | WriteSetting(std::string("romsPath"), UISettings::values.roms_path); | 412 | WriteSetting(std::string("romsPath"), UISettings::values.roms_path); |
| 409 | BeginArray(std::string("gamedirs")); | 413 | BeginArray(std::string("gamedirs")); |
| 410 | for (int i = 0; i < UISettings::values.game_dirs.size(); ++i) { | 414 | for (int i = 0; i < UISettings::values.game_dirs.size(); ++i) { |