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

Windows fixes

This commit is contained in:
Jack Andersen
2015-09-26 18:36:15 -10:00
parent 525c8a0254
commit 5b70865e4f
6 changed files with 11 additions and 8 deletions

View File

@@ -120,8 +120,8 @@ void PAKBridge::build()
auto search = dupeTracker.find(areaDeps.name);
if (search != dupeTracker.end() && search->second.first > 1)
{
char num[16];
snprintf(num, 16, " (%d)", search->second.second++);
HECL::SystemChar num[16];
HECL::SNPrintf(num, 16, _S(" (%d)"), search->second.second++);
areaDeps.name += num;
}

View File

@@ -1,6 +1,9 @@
#include "MREA.hpp"
#include "DeafBabe.hpp"
#define _USE_MATH_DEFINES
#include <math.h>
namespace Retro
{
namespace DNAMP1

View File

@@ -117,8 +117,8 @@ void PAKBridge::build()
auto search = dupeTracker.find(areaDeps.name);
if (search != dupeTracker.end() && search->second.first > 1)
{
char num[16];
snprintf(num, 16, " (%d)", search->second.second++);
HECL::SystemChar num[16];
HECL::SNPrintf(num, 16, _S(" (%d)"), search->second.second++);
areaDeps.name += num;
}

View File

@@ -127,8 +127,8 @@ void PAKBridge::build()
auto search = dupeTracker.find(areaDeps.name);
if (search != dupeTracker.end() && search->second.first > 1)
{
char num[16];
snprintf(num, 16, " (%d)", search->second.second++);
HECL::SystemChar num[16];
HECL::SNPrintf(num, 16, _S(" (%d)"), search->second.second++);
areaDeps.name += num;
}

2
NODLib

Submodule NODLib updated: a7afead6ab...dfdfdb2749

2
hecl

Submodule hecl updated: f4d17c323d...25f7079269