mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 16:44:22 -04:00
pm: statically allocate more resources to save memory
This commit is contained in:
parent
aa0826bb70
commit
2cb8aadafc
2 changed files with 56 additions and 3 deletions
|
@ -37,7 +37,9 @@ extern "C" {
|
|||
u32 __nx_applet_type = AppletType_None;
|
||||
u32 __nx_fs_num_sessions = 1;
|
||||
|
||||
#define INNER_HEAP_SIZE 0x40000
|
||||
/* TODO: Statically allocate PM resource thread stack, reduce this. */
|
||||
/* TODO: Determine what the minimum consistent value for this is (dump heap at runtime). */
|
||||
#define INNER_HEAP_SIZE 0xC000
|
||||
size_t nx_inner_heap_size = INNER_HEAP_SIZE;
|
||||
char nx_inner_heap[INNER_HEAP_SIZE];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue