summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-23 15:07:31 +0200
committerZach Hilman <zachhilman@gmail.com>2019-05-26 21:12:12 +0200
commit180f22f17e2add6264615dab68b651ff06056e2a (patch)
treee515859e599aab8bd5f2921a683b8ca9c971bfbe /src
parentMerge pull request #2516 from lioncash/label (diff)
downloadyuzu-180f22f17e2add6264615dab68b651ff06056e2a.tar
yuzu-180f22f17e2add6264615dab68b651ff06056e2a.tar.gz
yuzu-180f22f17e2add6264615dab68b651ff06056e2a.tar.bz2
yuzu-180f22f17e2add6264615dab68b651ff06056e2a.tar.lz
yuzu-180f22f17e2add6264615dab68b651ff06056e2a.tar.xz
yuzu-180f22f17e2add6264615dab68b651ff06056e2a.tar.zst
yuzu-180f22f17e2add6264615dab68b651ff06056e2a.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/config.cpp2
-rw-r--r--src/yuzu/ui_settings.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index db27da23e..d708d6786 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -645,6 +645,7 @@ void Config::ReadUIGamelistValues() {
UISettings::values.icon_size = ReadSetting(QStringLiteral("icon_size"), 64).toUInt();
UISettings::values.row_1_text_id = ReadSetting(QStringLiteral("row_1_text_id"), 3).toUInt();
UISettings::values.row_2_text_id = ReadSetting(QStringLiteral("row_2_text_id"), 2).toUInt();
+ UISettings::values.cache_game_list = ReadSetting(QStringLiteral("cache_game_list"), true).toBool();
qt_config->endGroup();
}
@@ -1009,6 +1010,7 @@ void Config::SaveUIGamelistValues() {
WriteSetting(QStringLiteral("icon_size"), UISettings::values.icon_size, 64);
WriteSetting(QStringLiteral("row_1_text_id"), UISettings::values.row_1_text_id, 3);
WriteSetting(QStringLiteral("row_2_text_id"), UISettings::values.row_2_text_id, 2);
+ WriteSetting(QStringLiteral("cache_game_list"), UISettings::values.cache_game_list, true);
qt_config->endGroup();
}
diff --git a/src/yuzu/ui_settings.h b/src/yuzu/ui_settings.h
index dbd318e20..a62cd6911 100644
--- a/src/yuzu/ui_settings.h
+++ b/src/yuzu/ui_settings.h
@@ -79,6 +79,7 @@ struct Values {
uint8_t row_1_text_id;
uint8_t row_2_text_id;
std::atomic_bool is_game_list_reload_pending{false};
+ bool cache_game_list;
};
extern Values values;