diff options
Diffstat (limited to 'include/poke_overlay.h')
-rw-r--r-- | include/poke_overlay.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/poke_overlay.h b/include/poke_overlay.h index 5ee9073a..400f600e 100644 --- a/include/poke_overlay.h +++ b/include/poke_overlay.h @@ -7,7 +7,20 @@ #define OVERLAY_LOAD_ITCM 1 #define OVERLAY_LOAD_DTCM 2 +struct LoadedOverlay { + FSOverlayID id; + BOOL active; +}; + +void FreeOverlayAllocation(struct LoadedOverlay * loaded); void UnloadOverlayByID(FSOverlayID id); -BOOL HandleLoadOverlay(FSOverlayID id, int a1); +s32 GetOverlayLoadDestination(FSOverlayID id); +BOOL HandleLoadOverlay(FSOverlayID id, s32 a1); +BOOL CanOverlayBeLoaded(FSOverlayID id); +struct LoadedOverlay* GetLoadedOverlaysInRegion(s32 a0); +BOOL GetOverlayRamBounds(FSOverlayID id, void ** start, void ** end); +BOOL LoadOverlayNormal(MIProcessor target, FSOverlayID id); +BOOL LoadOverlayNoInit(MIProcessor target, FSOverlayID id); +BOOL LoadOverlayNoInitAsync(MIProcessor target, FSOverlayID id); #endif //GUARD_POKE_OVERLAY_H |