1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Use u8 strings when dealing with file paths

This commit is contained in:
Hielke Morsink
2022-02-27 22:23:35 +01:00
parent 55c71b0c74
commit 6ba0a3bd49
27 changed files with 115 additions and 120 deletions

View File

@@ -49,8 +49,8 @@ static std::vector<ReplayTestData> GetReplayFiles()
{
std::vector<ReplayTestData> res;
std::string basePath = TestData::GetBasePath();
std::string replayPath = Path::Combine(basePath, "replays");
std::string replayPathPattern = Path::Combine(replayPath, "*.parkrep");
std::string replayPath = Path::Combine(basePath, u8"replays");
std::string replayPathPattern = Path::Combine(replayPath, u8"*.parkrep");
std::vector<std::string> files;
auto scanner = Path::ScanDirectory(replayPathPattern, true);