summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorSammygoodTunes <56520787+SammygoodTunes@users.noreply.github.com>2025-05-11 11:49:54 +0200
committerGitHub <noreply@github.com>2025-05-11 11:49:54 +0200
commitfd8700c1914b6723ff739997796e21025d6fc56f (patch)
treec8e8d1d848dbf567e8db8a4b1266e71b26aedb4b /libs
parent1eeb1b1b5421c645188ae45fd3b144de563eff00 (diff)
parenta6df0608a8fb9065c0239114daa81599821c119e (diff)
Merge branch 'main' into decomp/MapManager
Diffstat (limited to 'libs')
-rw-r--r--libs/nds/include/nds/Overlay.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/nds/include/nds/Overlay.h b/libs/nds/include/nds/Overlay.h
index 5339a9d7..254253bd 100644
--- a/libs/nds/include/nds/Overlay.h
+++ b/libs/nds/include/nds/Overlay.h
@@ -5,6 +5,9 @@
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;