strat: use 1 fewer fs session at runtime (and match official ncm usage)

This commit is contained in:
Michael Scire 2020-05-27 03:51:11 -07:00
parent 80e49696ea
commit fe0bd03feb
2 changed files with 2 additions and 0 deletions

View file

@ -35,6 +35,7 @@ extern "C" {
extern u32 __start__; extern u32 __start__;
u32 __nx_applet_type = AppletType_None; u32 __nx_applet_type = AppletType_None;
u32 __nx_fs_num_sessions = 1;
/* TODO: Evaluate to what extent this can be reduced further. */ /* TODO: Evaluate to what extent this can be reduced further. */
#define INNER_HEAP_SIZE 0x20000 #define INNER_HEAP_SIZE 0x20000

View file

@ -19,6 +19,7 @@ extern "C" {
extern u32 __start__; extern u32 __start__;
u32 __nx_applet_type = AppletType_None; u32 __nx_applet_type = AppletType_None;
u32 __nx_fs_num_sessions = 2;
#define INNER_HEAP_SIZE 0x8000 #define INNER_HEAP_SIZE 0x8000
size_t nx_inner_heap_size = INNER_HEAP_SIZE; size_t nx_inner_heap_size = INNER_HEAP_SIZE;