mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
get rid of HAS_STD_FILESYSTEM
just use std::filesystem
This commit is contained in:
parent
acafb07707
commit
d51e4e5236
6 changed files with 42 additions and 121 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue