summaryrefslogtreecommitdiff
path: root/src/code/z_common_data.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2022-02-11 20:23:57 -0300
committerGitHub <noreply@github.com>2022-02-11 18:23:57 -0500
commit8926b0858247a1861a045af9cf33ce616054945e (patch)
tree8a71507de834194edfa1e4708c210d1595719542 /src/code/z_common_data.c
parentc8d150afe27bc3e88fa7e9a3665ba72545b57a0f (diff)
Force required alignment on DMA related stuff (#1135)
* Force dword alignment on OSPifRam * force_structure_alignment on each Font buffer * Add ALIGNED8 macro to gSaveContext to ensure alignment * create alignment.h header and use ALIGN8 in PLAYER_LIMB_BUF_COUNT * add comment in common_data * Roman's suggestion * player_limb_buf_count Co-authored-by: fig02 <fig02srl@gmail.com>
Diffstat (limited to 'src/code/z_common_data.c')
-rw-r--r--src/code/z_common_data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/z_common_data.c b/src/code/z_common_data.c
index 216a5ac9a..670509d6e 100644
--- a/src/code/z_common_data.c
+++ b/src/code/z_common_data.c
@@ -1,6 +1,7 @@
#include "global.h"
-SaveContext gSaveContext;
+// The use of ALIGNED8 here is just a temporary solution until the SaveContext is re-structured
+ALIGNED8 SaveContext gSaveContext;
u32 D_8015FA88;
u32 D_8015FA8C;