mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Use u8 strings when dealing with file paths
This commit is contained in:
@@ -325,7 +325,7 @@ std::string ImageTable::FindLegacyObject(const std::string& name)
|
||||
if (!File::Exists(objectPath))
|
||||
{
|
||||
// Search recursively for any file with the target name (case insensitive)
|
||||
auto filter = Path::Combine(objectsPath, "*.dat;*.pob");
|
||||
auto filter = Path::Combine(objectsPath, u8"*.dat;*.pob");
|
||||
auto scanner = Path::ScanDirectory(filter, true);
|
||||
while (scanner->Next())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user