diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-29 18:34:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 18:34:09 +0100 |
commit | aded28f276554f7f654ca3f6391c991b872862ac (patch) | |
tree | cfae0437bd8667186718e5f2e37a825f16d8f33a /src/frontend_common | |
parent | Merge pull request #12203 from liamwhite/crash-fix (diff) | |
parent | android: Save global settings in onStop (diff) | |
download | yuzu-aded28f276554f7f654ca3f6391c991b872862ac.tar yuzu-aded28f276554f7f654ca3f6391c991b872862ac.tar.gz yuzu-aded28f276554f7f654ca3f6391c991b872862ac.tar.bz2 yuzu-aded28f276554f7f654ca3f6391c991b872862ac.tar.lz yuzu-aded28f276554f7f654ca3f6391c991b872862ac.tar.xz yuzu-aded28f276554f7f654ca3f6391c991b872862ac.tar.zst yuzu-aded28f276554f7f654ca3f6391c991b872862ac.zip |
Diffstat (limited to 'src/frontend_common')
-rw-r--r-- | src/frontend_common/config.cpp | 2 |
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) { |