Changes

15 bytes added ,  06:10, 22 August 2019
IOS_Free can return an error (as seen in DI)
Line 155: Line 155:  
| 19 || void* AllocAligned(int heapid, u32 size, u32 align) || Allocate size bytes from the specified heap with the requested alignment || pointer to aligned memory
 
| 19 || void* AllocAligned(int heapid, u32 size, u32 align) || Allocate size bytes from the specified heap with the requested alignment || pointer to aligned memory
 
|-
 
|-
| 1a || void IOS_Free(int heapid, void *ptr) || Release allocated memory back to the heap
+
| 1a || int IOS_Free(int heapid, void *ptr) || Release allocated memory back to the heap || 0 on success
 
|-
 
|-
 
| 1b || bool IOS_RegisterResourceManager(const char* device, int queueid) || Registers device to the device tree, so it can be opened (from Starlet and PPC) || 0 on success
 
| 1b || bool IOS_RegisterResourceManager(const char* device, int queueid) || Registers device to the device tree, so it can be opened (from Starlet and PPC) || 0 on success
303

edits