Make sure gHeap is always aligned

This commit is contained in:
DizzyEggg 2024-03-06 16:13:06 +01:00 committed by GitHub
parent 954ba0a155
commit 7da5cb421e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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