Skip to content

Commit

Permalink
Decrease FS sessions used
Browse files Browse the repository at this point in the history
  • Loading branch information
cathery committed May 27, 2020
1 parent c317d33 commit d0fc1e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@

#define HEAP_SIZE 0xA7000

// we aren't an applet
// We aren't an applet.
u32 __nx_applet_type = AppletType_None;
// We're a sysmodule and don't need multithreaded FS. Use 1 session instead of default 3.
u32 __nx_fs_num_sessions = 1;

// setup a fake heap
char fake_heap[HEAP_SIZE];
Expand Down

0 comments on commit d0fc1e8

Please sign in to comment.