mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-13 06:10:24 +02:00
get rid of HAS_STD_FILESYSTEM
just use std::filesystem
This commit is contained in:
1 parent
acafb07707
commit
d51e4e5236
6 files changed
+42
-121
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user