mirror of
https://github.com/zeldaret/ph
synced 2026-08-18 21:27:40 -04:00
Merge remote-tracking branch 'zeldaret/main' into decomp-PlayerControl
This commit is contained in:
@@ -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