mirror of https://github.com/AxioDL/metaforce.git
Windows build fixes
This commit is contained in:
parent
8f91b453f3
commit
8e7c91b942
|
@ -104,7 +104,7 @@ void UniqueID32::write(athena::io::YAMLDocWriter& writer) const
|
||||||
if (!path)
|
if (!path)
|
||||||
return;
|
return;
|
||||||
writer.writeString(nullptr, path.getAuxInfo().size() ?
|
writer.writeString(nullptr, path.getAuxInfo().size() ?
|
||||||
(path.getRelativePathUTF8() + _S('|') + path.getAuxInfoUTF8()) :
|
(path.getRelativePathUTF8() + '|' + path.getAuxInfoUTF8()) :
|
||||||
path.getRelativePathUTF8());
|
path.getRelativePathUTF8());
|
||||||
}
|
}
|
||||||
size_t UniqueID32::binarySize(size_t __isz) const
|
size_t UniqueID32::binarySize(size_t __isz) const
|
||||||
|
@ -186,7 +186,7 @@ void UniqueID64::write(athena::io::YAMLDocWriter& writer) const
|
||||||
if (!path)
|
if (!path)
|
||||||
return;
|
return;
|
||||||
writer.writeString(nullptr, path.getAuxInfo().size() ?
|
writer.writeString(nullptr, path.getAuxInfo().size() ?
|
||||||
(path.getRelativePathUTF8() + _S('|') + path.getAuxInfoUTF8()) :
|
(path.getRelativePathUTF8() + '|' + path.getAuxInfoUTF8()) :
|
||||||
path.getRelativePathUTF8());
|
path.getRelativePathUTF8());
|
||||||
}
|
}
|
||||||
size_t UniqueID64::binarySize(size_t __isz) const
|
size_t UniqueID64::binarySize(size_t __isz) const
|
||||||
|
@ -222,7 +222,7 @@ void UniqueID128::write(athena::io::YAMLDocWriter& writer) const
|
||||||
if (!path)
|
if (!path)
|
||||||
return;
|
return;
|
||||||
writer.writeString(nullptr, path.getAuxInfo().size() ?
|
writer.writeString(nullptr, path.getAuxInfo().size() ?
|
||||||
(path.getRelativePathUTF8() + _S('|') + path.getAuxInfoUTF8()) :
|
(path.getRelativePathUTF8() + '|' + path.getAuxInfoUTF8()) :
|
||||||
path.getRelativePathUTF8());
|
path.getRelativePathUTF8());
|
||||||
}
|
}
|
||||||
size_t UniqueID128::binarySize(size_t __isz) const
|
size_t UniqueID128::binarySize(size_t __isz) const
|
||||||
|
|
|
@ -266,7 +266,10 @@ hecl::ProjectPath PAKRouter<BRIDGETYPE>::getCharacterWorking(const EntryType* en
|
||||||
{
|
{
|
||||||
hecl::ProjectPath characterPath = getWorking(characterSearch->second.first);
|
hecl::ProjectPath characterPath = getWorking(characterSearch->second.first);
|
||||||
if (entry->type == FOURCC('EVNT'))
|
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 characterPath.ensureAuxInfo(characterSearch->second.second);
|
||||||
}
|
}
|
||||||
return {};
|
return {};
|
||||||
|
|
|
@ -15,7 +15,7 @@ static void WriteTag(athena::io::YAMLDocWriter& cacheWriter,
|
||||||
cacheWriter.enterSubVector(idStr);
|
cacheWriter.enterSubVector(idStr);
|
||||||
cacheWriter.writeString(nullptr, pathTag.type.toString().c_str());
|
cacheWriter.writeString(nullptr, pathTag.type.toString().c_str());
|
||||||
cacheWriter.writeString(nullptr, path.getAuxInfo().size() ?
|
cacheWriter.writeString(nullptr, path.getAuxInfo().size() ?
|
||||||
(path.getRelativePathUTF8() + _S('|') + path.getAuxInfoUTF8()) :
|
(path.getRelativePathUTF8() + '|' + path.getAuxInfoUTF8()) :
|
||||||
path.getRelativePathUTF8());
|
path.getRelativePathUTF8());
|
||||||
cacheWriter.leaveSubVector();
|
cacheWriter.leaveSubVector();
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include "GameGlobalObjects.hpp"
|
#include "GameGlobalObjects.hpp"
|
||||||
#include "CSimplePool.hpp"
|
#include "CSimplePool.hpp"
|
||||||
#include "CGameState.hpp"
|
#include "CGameState.hpp"
|
||||||
|
#include "GuiSys/CStringTable.hpp"
|
||||||
|
|
||||||
namespace urde
|
namespace urde
|
||||||
{
|
{
|
||||||
|
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
||||||
Subproject commit 164c8be0e0c13f0746687f6b36e9b6dd4086a2f1
|
Subproject commit 3764728bccf2261a71a6d91130710aeed47fe832
|
Loading…
Reference in New Issue