From e9796f701a039887261daf96e55d76d211f31e68 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 6 Mar 2020 05:25:37 -0800 Subject: [PATCH] ncm: Nintendo has 5 MiB of heap. Give ourselves 4 to be safe, pending analysis --- stratosphere/ncm/source/ncm_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/ncm/source/ncm_main.cpp b/stratosphere/ncm/source/ncm_main.cpp index c94c51056..9df88642f 100644 --- a/stratosphere/ncm/source/ncm_main.cpp +++ b/stratosphere/ncm/source/ncm_main.cpp @@ -21,7 +21,7 @@ extern "C" { u32 __nx_applet_type = AppletType_None; - #define INNER_HEAP_SIZE 0x100000 + #define INNER_HEAP_SIZE 0x400000 size_t nx_inner_heap_size = INNER_HEAP_SIZE; char nx_inner_heap[INNER_HEAP_SIZE];