diff --git a/include/coreinit/baseheap.h b/include/coreinit/baseheap.h index fd83ee8..3993c2e 100644 --- a/include/coreinit/baseheap.h +++ b/include/coreinit/baseheap.h @@ -20,12 +20,21 @@ typedef enum MEMBaseHeapType MEM_BASE_HEAP_FG = 8, } MEMBaseHeapType; +/** + * Get which memory area a heap belongs to. + */ MEMBaseHeapType MEMGetArena(MEMHeapHandle handle); +/** + * Get base heap for memory area. + */ MEMHeapHandle MEMGetBaseHeapHandle(MEMBaseHeapType type); +/** + * Set base heap for memory area. + */ MEMHeapHandle MEMSetBaseHeapHandle(MEMBaseHeapType type, MEMHeapHandle handle);