aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-12-19 11:27:08 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2023-12-19 11:34:53 -0600
commit816c7a8d1fa3804aee25991182bce63f6dd2ddac (patch)
tree8aaf1c09811ed29a92acc76de93ce4600d484d14 /src
parent53956a299060ee71d77f08adbc45aaac217be376 (diff)
yuzu: Read/Save category Paths
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/qt_config.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/configuration/qt_config.cpp b/src/yuzu/configuration/qt_config.cpp
index 417a43ec59..a71000b72f 100644
--- a/src/yuzu/configuration/qt_config.cpp
+++ b/src/yuzu/configuration/qt_config.cpp
@@ -225,6 +225,8 @@ void QtConfig::ReadPathValues() {
QString::fromStdString(ReadStringSetting(std::string("recentFiles")))
.split(QStringLiteral(", "), Qt::SkipEmptyParts, Qt::CaseSensitive);
+ ReadCategory(Settings::Category::Paths);
+
EndGroup();
}
@@ -405,6 +407,8 @@ void QtConfig::SaveQtControlValues() {
void QtConfig::SavePathValues() {
BeginGroup(Settings::TranslateCategory(Settings::Category::Paths));
+ WriteCategory(Settings::Category::Paths);
+
WriteSetting(std::string("romsPath"), UISettings::values.roms_path);
BeginArray(std::string("gamedirs"));
for (int i = 0; i < UISettings::values.game_dirs.size(); ++i) {