Skip to content

Commit

Permalink
Merge pull request #1981 from DizzyEggg/patch-3
Browse files Browse the repository at this point in the history
Make sure gHeap is always aligned
  • Loading branch information
GriffinRichards authored Mar 7, 2024
2 parents 954ba0a + 7da5cb4 commit 82c3e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gflib/malloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 82c3e4a

Please sign in to comment.