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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user