diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2023-01-24 12:18:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-24 12:18:25 +0100 |
| commit | caca662dbff0a2fdebe6231288f9288e54419819 (patch) | |
| tree | 7b914a5a76e0db3558976f8abde43db91c92d59d /Source/Core/DiscIO/GameModDescriptor.cpp | |
| parent | d4d6f3db63f974885c7a96a1bf6dfc65a1640122 (diff) | |
| parent | d51e4e52364d7215a229e961e4f4457d1dfde3ca (diff) | |
Merge pull request #10994 from shuffle2/fs
get rid of HAS_STD_FILESYSTEM
Diffstat (limited to 'Source/Core/DiscIO/GameModDescriptor.cpp')
| -rw-r--r-- | Source/Core/DiscIO/GameModDescriptor.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/DiscIO/GameModDescriptor.cpp b/Source/Core/DiscIO/GameModDescriptor.cpp index 5ed11dec3a..1a2fea422f 100644 --- a/Source/Core/DiscIO/GameModDescriptor.cpp +++ b/Source/Core/DiscIO/GameModDescriptor.cpp @@ -18,13 +18,7 @@ namespace DiscIO { static std::string MakeAbsolute(const std::string& directory, const std::string& path) { -#ifdef _WIN32 return PathToString(StringToPath(directory) / StringToPath(path)); -#else - if (StringBeginsWith(path, "/")) - return path; - return directory + "/" + path; -#endif } std::optional<GameModDescriptor> ParseGameModDescriptorFile(const std::string& filename) |
