diff --git a/src/user/pspmoduleinfo.h b/src/user/pspmoduleinfo.h index 4cce1d3d..4ca9c8ab 100644 --- a/src/user/pspmoduleinfo.h +++ b/src/user/pspmoduleinfo.h @@ -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)