summaryrefslogtreecommitdiff
path: root/src/frontend_common/config.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2023-11-29 12:34:09 -0500
committerGravatar GitHub2023-11-29 12:34:09 -0500
commitaded28f276554f7f654ca3f6391c991b872862ac (patch)
treecfae0437bd8667186718e5f2e37a825f16d8f33a /src/frontend_common/config.cpp
parentMerge pull request #12203 from liamwhite/crash-fix (diff)
parentandroid: Save global settings in onStop (diff)
downloadyuzu-aded28f276554f7f654ca3f6391c991b872862ac.tar.gz
yuzu-aded28f276554f7f654ca3f6391c991b872862ac.tar.xz
yuzu-aded28f276554f7f654ca3f6391c991b872862ac.zip
Merge pull request #12204 from t895/config-migration
android: Multi directory UI
Diffstat (limited to '')
-rw-r--r--src/frontend_common/config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend_common/config.cpp b/src/frontend_common/config.cpp
index 7474cb0f9..1a0491c2c 100644
--- a/src/frontend_common/config.cpp
+++ b/src/frontend_common/config.cpp
@@ -924,12 +924,14 @@ std::string Config::AdjustOutputString(const std::string& string) {
924 924
925 // Windows requires that two forward slashes are used at the start of a path for unmapped 925 // Windows requires that two forward slashes are used at the start of a path for unmapped
926 // network drives so we have to watch for that here 926 // network drives so we have to watch for that here
927#ifndef ANDROID
927 if (string.substr(0, 2) == "//") { 928 if (string.substr(0, 2) == "//") {
928 boost::replace_all(adjusted_string, "//", "/"); 929 boost::replace_all(adjusted_string, "//", "/");
929 adjusted_string.insert(0, "/"); 930 adjusted_string.insert(0, "/");
930 } else { 931 } else {
931 boost::replace_all(adjusted_string, "//", "/"); 932 boost::replace_all(adjusted_string, "//", "/");
932 } 933 }
934#endif
933 935
934 // Needed for backwards compatibility with QSettings deserialization 936 // Needed for backwards compatibility with QSettings deserialization
935 for (const auto& special_character : special_characters) { 937 for (const auto& special_character : special_characters) {