mirror of
https://github.com/zeldaret/ph
synced 2026-08-19 05:32:00 -04:00
Merge remote-tracking branch 'zeldaret/main' into decomp-PlayerControl
This commit is contained in:
@@ -5,4 +5,6 @@
|
||||
|
||||
typedef unsigned int size_t;
|
||||
|
||||
#define offsetof(type, member) ((size_t) &((type *) NULL)->member)
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef _C_STDIO_H
|
||||
#define _C_STDIO_H
|
||||
|
||||
int sprintf(char *__restrict s, const char *__restrict format, ...);
|
||||
|
||||
#endif
|
||||
@@ -1,6 +1,13 @@
|
||||
#ifndef _NDS_OVERLAY_H
|
||||
#define _NDS_OVERLAY_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define EXTERN_OVERLAY_ID(name_or_index) extern u32 OVERLAY_##name_or_index##_ID;
|
||||
#define OVERLAY_ID(name_or_index) ((u32) & OVERLAY_##name_or_index##_ID)
|
||||
|
||||
typedef struct Overlay {
|
||||
/* 00 */ unk32 mId;
|
||||
/* 04 */ void *mBaseAddress;
|
||||
@@ -27,4 +34,8 @@ bool Overlay_Destroy(Overlay *overlay);
|
||||
bool Overlay_Load(Overlay *overlay, unk32 param2);
|
||||
bool Overlay_Unload(Overlay *overlay, unk32 param2);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user