diff options
Diffstat (limited to 'arm9/lib/include/FS_overlay.h')
-rw-r--r-- | arm9/lib/include/FS_overlay.h | 3 |
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 |