mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-23 20:22:40 +00:00
Create a macro for helping into defining the threshold in RAM
This commit is contained in:
@@ -137,9 +137,9 @@ enum PspModuleInfoAttr
|
||||
#define PSP_HEAP_SIZE_KB(size_kb) \
|
||||
int sce_newlib_heap_kb_size = (size_kb)
|
||||
|
||||
/* Declare to allocate maximum heap area */
|
||||
#define PSP_HEAP_SIZE_MAX() \
|
||||
PSP_HEAP_SIZE_KB(-1)
|
||||
/* Declare the threshold of the heap (in KB) that the program wants to keep for external allocation. */
|
||||
#define PSP_HEAP_THRESHOLD_SIZE_KB(size_kb) \
|
||||
int sce_newlib_heap_threshold_kb_size = (size_kb)
|
||||
|
||||
/* Declare the name of the main thread */
|
||||
#define PSP_MAIN_THREAD_NAME(s) const char* sce_newlib_main_thread_name = (s)
|
||||
|
||||
Reference in New Issue
Block a user