Merge pull request #10994 from shuffle2/fs

get rid of HAS_STD_FILESYSTEM
This commit is contained in:
Pierre Bourdon
2023-01-24 12:18:25 +01:00
committed by GitHub
6 changed files with 42 additions and 121 deletions

View File

@ -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)