1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-09-28 14:40:46 +00:00

Update libnx, libstrat, reduce FS sessions

This commit is contained in:
cathery 2020-05-28 14:53:19 +03:00
parent bd0aecc8bd
commit dfa3d387bd
3 changed files with 7 additions and 2 deletions

View File

@ -45,7 +45,7 @@ Instead, clone the repository **recursively** using any git client you have. (Gi
Like all other switch projects, you need to have [devkitA64](https://switchbrew.org/wiki/Setting_up_Development_Environment) set up on your system.
This project uses libnx version **3.2.0**.
This project uses libnx version **3.3.0**.
If you have **Visual Studio Code**, you can open the project as a folder and run the build tasks from inside the program. It also has Intellisense configured for switch development, if you have DEVKITPRO correctly defined in your environment variables. Handy!

View File

@ -12,7 +12,12 @@
// libnx fake heap initialization
extern "C"
{
// We aren't an applet, so disable applet functionality.
u32 __nx_applet_type = AppletType_None;
// We are a sysmodule, so don't use more FS sessions than needed.
u32 __nx_fs_num_sessions = 1;
// We don't need to reserve memory for fsdev, so don't use it.
u32 __nx_fsdev_direntry_cache_size = 1;
#define INNER_HEAP_SIZE 0x40'000
size_t nx_inner_heap_size = INNER_HEAP_SIZE;

@ -1 +1 @@
Subproject commit bbbe67937ae515a577c131608626b37c77af57a7
Subproject commit 797dfa782e85173652d017de38066f9a5c88622a