mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +01:00
Use u8 strings when dealing with file paths
This commit is contained in:
@@ -90,7 +90,7 @@ namespace Platform
|
||||
|
||||
bool OriginalGameDataExists(std::string_view path)
|
||||
{
|
||||
std::string combinedPath = Path::ResolveCasing(Path::Combine(path, "Data", "g1.dat"));
|
||||
std::string combinedPath = Path::ResolveCasing(Path::Combine(path, u8"Data", u8"g1.dat"));
|
||||
return File::Exists(combinedPath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user