summaryrefslogtreecommitdiff
path: root/arm9/lib/include/FS_overlay.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-10 14:12:15 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-10 14:12:15 -0400
commit7b8a6275ebdbb2b6d5023fe8769e08be074f032a (patch)
treea7cbbdac916945d202a62afbb5cf48517b6719a7 /arm9/lib/include/FS_overlay.h
parent6b870e88c3acc3843c5639af64fe12eccf64e712 (diff)
Tocuh up main.c; key input
Diffstat (limited to 'arm9/lib/include/FS_overlay.h')
-rw-r--r--arm9/lib/include/FS_overlay.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arm9/lib/include/FS_overlay.h b/arm9/lib/include/FS_overlay.h
index fd1e2900..14c7ce66 100644
--- a/arm9/lib/include/FS_overlay.h
+++ b/arm9/lib/include/FS_overlay.h
@@ -12,6 +12,9 @@ extern "C" {
typedef u32 FSOverlayID;
+#define FS_EXTERN_OVERLAY(name) extern u32 SDK_OVERLAY_ ## name ## _ID[1]
+#define FS_OVERLAY_ID(name) ((u32)&(SDK_OVERLAY_ ## name ## _ID))
+
typedef void (*FSOverlayInitFunc)(void);
typedef struct FSOverlayInfoHeader