|
wut v1.9.1
Wii U Toolchain
|

Functions | |
| uint32_t | ProcUICalcMemorySize (uint32_t numCallbacks) |
| Calculate the required size for the memory pool. | |
| int32_t | ProcUISetMemoryPool (void *pool, uint32_t size) |
| Set a custom memory pool. | |
| void | ProcUISetCallbackStackSize (uint32_t size) |
| Set the stack size for the callback threads. | |
| void | ProcUISetBucketStorage (void *buf, uint32_t size) |
| Set a buffer to store the foreground bucket data after losing foreground. | |
| void | ProcUISetMEM1Storage (void *buf, uint32_t size) |
| Set a buffer to store the MEM1 data after losing foreground. | |
| uint32_t ProcUICalcMemorySize | ( | uint32_t | numCallbacks | ) |
Calculate the required size for the memory pool.
| numCallbacks | The amount of callbacks which can be registered for each type. |
| int32_t ProcUISetMemoryPool | ( | void * | pool, |
| uint32_t | size | ||
| ) |
Set a custom memory pool.
By default all allocations are done from the default heap.
| pool | The allocated memory pool. |
| size | The size of the pool. |
0 on success, negative value on error. | void ProcUISetCallbackStackSize | ( | uint32_t | size | ) |
Set the stack size for the callback threads.
Default: 0x2000
| size | The stack size. |
| void ProcUISetBucketStorage | ( | void * | buf, |
| uint32_t | size | ||
| ) |
Set a buffer to store the foreground bucket data after losing foreground.
Will be automatically restored after re-entering foreground.
| buf | Allocated buffer in MEM2 to store the data. |
| size | The size of the buffer. Use OSGetForegroundBucketFreeArea to determine the size. |
| void ProcUISetMEM1Storage | ( | void * | buf, |
| uint32_t | size | ||
| ) |
Set a buffer to store the MEM1 data after losing foreground.
Will be automatically restored after re-entering foreground.
| buf | Allocated buffer in MEM2 to store the data. |
| size | The size of the buffer. Use OSGetMemBound for OS_MEM1 to determine the size. |