summaryrefslogtreecommitdiff
path: root/include/System
diff options
context:
space:
mode:
Diffstat (limited to 'include/System')
-rw-r--r--include/System/OverlayManager.hpp5
-rw-r--r--include/System/SysNew.hpp13
2 files changed, 17 insertions, 1 deletions
diff --git a/include/System/OverlayManager.hpp b/include/System/OverlayManager.hpp
index 4ac727a1..636208fc 100644
--- a/include/System/OverlayManager.hpp
+++ b/include/System/OverlayManager.hpp
@@ -92,9 +92,12 @@ class OverlayManager {
public:
OverlayId mLoadedOverlays[OverlayIndex_COUNT];
- void Unload(OverlayIndex index);
void Load(OverlayIndex index, OverlayId id);
void LoadIfNotLoaded(OverlayIndex index, OverlayId id);
+ void Unload(OverlayIndex index);
+ void LoadOverlaySetup(s32 index);
+ void UnloadOverlaySetup();
+
void LoadEquipItem(ItemFlag equipId);
};
diff --git a/include/System/SysNew.hpp b/include/System/SysNew.hpp
index 78f3b290..7e9b0cd8 100644
--- a/include/System/SysNew.hpp
+++ b/include/System/SysNew.hpp
@@ -2,8 +2,21 @@
#include "types.h"
+struct UnkStruct_0202e894 {
+ /* 00 */ u32 mId;
+ /* 04 */ unk8 mUnk_04[0x28];
+ /* 2c */
+};
+
+void *SysNew(UnkStruct_0202e894 *param1, s32 length, s32 param3);
+void SysDelete(void *ptr);
+void *func_0202e99c(s32 length);
+void *func_0202e9bc(s32 length);
+
class SysObject {
public:
static void *operator new(unsigned long length, u32 *id, u32 idLength);
+ static void *operator new[](unsigned long length, u32 *id, u32 idLength);
static void operator delete(void *ptr);
+ static void operator delete[](void *ptr);
};