2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 19:44:55 +00:00

Windows build fixes

This commit is contained in:
Jack Andersen
2016-10-19 14:52:33 -10:00
parent 8f91b453f3
commit 8e7c91b942
5 changed files with 12 additions and 8 deletions

View File

@@ -266,7 +266,10 @@ hecl::ProjectPath PAKRouter<BRIDGETYPE>::getCharacterWorking(const EntryType* en
{
hecl::ProjectPath characterPath = getWorking(characterSearch->second.first);
if (entry->type == FOURCC('EVNT'))
return characterPath.getWithExtension((_S(".") + characterSearch->second.second).c_str(), true);
{
hecl::SystemStringView wideStr(characterSearch->second.second);
return characterPath.getWithExtension((_S(".") + wideStr.sys_str()).c_str(), true);
}
return characterPath.ensureAuxInfo(characterSearch->second.second);
}
return {};