Merge pull request #1981 from DizzyEggg/patch-3

Make sure gHeap is always aligned
This commit is contained in:
GriffinR 2024-03-07 10:33:52 -05:00 committed by GitHub
commit 82c3e4af14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@
static void *sHeapStart;
static u32 sHeapSize;
EWRAM_DATA u8 gHeap[HEAP_SIZE] = {0};
ALIGNED(4) EWRAM_DATA u8 gHeap[HEAP_SIZE] = {0};
#define MALLOC_SYSTEM_ID 0xA3A3