3DS: Rearrange heaps a bit
Jeffrey Pfau jeffrey@endrift.com
Wed, 02 Sep 2015 22:39:21 -0700
2 files changed,
4 insertions(+),
4 deletions(-)
M
src/platform/3ds/3ds-memory.c
→
src/platform/3ds/3ds-memory.c
@@ -10,10 +10,10 @@
#include <3ds.h> void* anonymousMemoryMap(size_t size) { - return malloc(size); + return linearAlloc(size); } void mappedMemoryFree(void* memory, size_t size) { UNUSED(size); - free(memory); + linearFree(memory); }
M
src/platform/3ds/ctru-heap.c
→
src/platform/3ds/ctru-heap.c
@@ -26,8 +26,8 @@ extern char* fake_heap_start;
extern char* fake_heap_end; u32 __linear_heap; u32 __heapBase; -static u32 __heap_size = 0x02800000; -static u32 __linear_heap_size = 0x01000000; +static u32 __heap_size = 0x02400000; +static u32 __linear_heap_size = 0x01400000; extern void (*__system_retAddr)(void);