Skip to content

Commit

Permalink
sysmodule template: set __nx_fs_num_sessions to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
fincs committed May 28, 2020
1 parent a0ce16d commit 7cce426
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/sysmodule/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

// Sysmodules should not use applet*.
u32 __nx_applet_type = AppletType_None;
// Sysmodules will normally only want to use one FS session.
u32 __nx_fs_num_sessions = 1;

// Adjust size as needed.
#define INNER_HEAP_SIZE 0x80000
Expand Down

0 comments on commit 7cce426

Please sign in to comment.