mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-04-22 20:44:49 +00:00
Bump heap size, fix CleanupAllPlaceHolder
This commit is contained in:
parent
e9879165b4
commit
352b747789
2 changed files with 7 additions and 0 deletions
|
@ -272,8 +272,14 @@ namespace sts::ncm {
|
|||
this->placeholder_accessor.ClearAllCaches();
|
||||
this->placeholder_accessor.GetPlaceHolderRootPath(placeholder_root_path);
|
||||
|
||||
/* Nintendo uses CleanDirectoryRecursively which is 3.0.0+.
|
||||
We'll just delete the directory and recreate it to support all firmwares. */
|
||||
R_TRY(fsdevDeleteDirectoryRecursively(placeholder_root_path));
|
||||
|
||||
if (mkdir(placeholder_root_path, S_IRWXU) == -1) {
|
||||
return fsdevGetLastResult();
|
||||
}
|
||||
|
||||
return ResultSuccess;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ extern "C" {
|
|||
u32 __nx_applet_type = AppletType_None;
|
||||
|
||||
#define INNER_HEAP_SIZE 0x60000
|
||||
#define INNER_HEAP_SIZE 0x100000
|
||||
size_t nx_inner_heap_size = INNER_HEAP_SIZE;
|
||||
char nx_inner_heap[INNER_HEAP_SIZE];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue