mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:04:56 +00:00
Windows fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#include "MREA.hpp"
|
||||
#include "DeafBabe.hpp"
|
||||
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <math.h>
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
namespace DNAMP1
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
2
NODLib
Submodule NODLib updated: a7afead6ab...dfdfdb2749
2
hecl
2
hecl
Submodule hecl updated: f4d17c323d...25f7079269
Reference in New Issue
Block a user