1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Use u8path on file path (#12205)

This commit is contained in:
Duncan
2020-07-12 21:56:02 +01:00
committed by GitHub
parent bc7f7248bb
commit b1f80efbe3

View File

@@ -94,7 +94,8 @@ namespace Platform
bool FileExists(const std::string path)
{
fs::path file = path;
fs::path file = fs::u8path(path);
log_verbose("Checking if file exists: %s", path.c_str());
return fs::exists(file);
}
} // namespace Platform