summaryrefslogtreecommitdiff
path: root/src/00_Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/00_Core')
-rw-r--r--src/00_Core/Map/MapManager.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/00_Core/Map/MapManager.cpp b/src/00_Core/Map/MapManager.cpp
index 7e3e8399..d54c7b3b 100644
--- a/src/00_Core/Map/MapManager.cpp
+++ b/src/00_Core/Map/MapManager.cpp
@@ -8,6 +8,7 @@
#include "DTCM/UnkStruct_027e0d38.hpp"
#include "Player/PlayerBase.hpp"
#include "Save/AdventureFlags.hpp"
+#include "stdio.h"
extern bool func_01ffbe78(Vec3p *param1, Vec3p *param2, Vec3p *param3, Vec4p *param4);
@@ -60,9 +61,6 @@ extern MapBase *func_ov017_0215b4e8(MapBase *param_1, unk32 param_2, unk32 param
extern MapBase *func_ov018_0215b4a0(MapBase *param_1, unk32 param_2, unk32 param_3);
-// Should this be defined?
-extern int sprintf(char *__restrict s, const char *__restrict format, ...);
-
struct UnkStruct_02082348 {
/* 00 */ unk32 mUnk_00;
/* 04 */ unk32 mUnk_04;
@@ -288,9 +286,8 @@ ARM void MapManager::func_ov00_020825ac() {
}
ARM s32 MapManager::GetCourseFilePath(char *courseName, char *buf) {
- s32 var = sprintf(buf, "Map/%s/course.bin", courseName); // Should we manually define sprintf?
+ s32 var = sprintf(buf, "Map/%s/course.bin", courseName);
return var;
- // reference to func_ov000_020e2528 (changed to @1495 in symbols)
}
ARM void MapManager::func_ov00_020825e4(unk32 param_2, char *buf) {