2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 19:07:46 +00:00

Windows fixes

This commit is contained in:
Jack Andersen
2015-11-10 10:12:43 -10:00
parent b94e14cd55
commit 58e394d5df
7 changed files with 31 additions and 5 deletions

View File

@@ -151,7 +151,11 @@ void PAKBridge::build()
HECL::SNPrintf(num, 16, _S("%02u "), ai);
areaDeps.name = num + areaDeps.name;
#if HECL_UCS2
std::string lowerName = HECL::WideToUTF8(areaDeps.name);
#else
std::string lowerName(areaDeps.name);
#endif
for (char& ch : lowerName)
{
ch = tolower(ch);