summaryrefslogtreecommitdiffstats
path: root/src/frontend_common/config.cpp
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2023-11-27 20:56:25 +0100
committert895 <clombardo169@gmail.com>2023-11-28 05:46:29 +0100
commitb8f66c9412e2306691ffb9f8a9d232198ebd13f4 (patch)
treeed658b4ae7ec1a039ab46587f7da785e22074dbd /src/frontend_common/config.cpp
parentMerge pull request #12153 from liamwhite/deck2 (diff)
downloadyuzu-b8f66c9412e2306691ffb9f8a9d232198ebd13f4.tar
yuzu-b8f66c9412e2306691ffb9f8a9d232198ebd13f4.tar.gz
yuzu-b8f66c9412e2306691ffb9f8a9d232198ebd13f4.tar.bz2
yuzu-b8f66c9412e2306691ffb9f8a9d232198ebd13f4.tar.lz
yuzu-b8f66c9412e2306691ffb9f8a9d232198ebd13f4.tar.xz
yuzu-b8f66c9412e2306691ffb9f8a9d232198ebd13f4.tar.zst
yuzu-b8f66c9412e2306691ffb9f8a9d232198ebd13f4.zip
Diffstat (limited to 'src/frontend_common/config.cpp')
-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) {
// Windows requires that two forward slashes are used at the start of a path for unmapped
// network drives so we have to watch for that here
+#ifndef ANDROID
if (string.substr(0, 2) == "//") {
boost::replace_all(adjusted_string, "//", "/");
adjusted_string.insert(0, "/");
} else {
boost::replace_all(adjusted_string, "//", "/");
}
+#endif
// Needed for backwards compatibility with QSettings deserialization
for (const auto& special_character : special_characters) {