summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-11-14 08:46:22 -0300
committerGitHub <noreply@github.com>2023-11-14 22:46:22 +1100
commit3d150f3e1d84259b05f2831be35fa6fd38e43232 (patch)
treee737c09137a04cdac7b15d0e190d6ca3b3fd0503 /src/boot
parent60ddc5891e1cdef2e32f695c96e60344d7a51c26 (diff)
Misc fixes 1 (#1491)
* Some low-hanging UB * document bug on z_file_nameset_NES.c * ALIGNED on audio data * document bug on decode * document bugs on Message_Decode * Format * More ALIGNED * Put the ALIGNED macro at the right like the other uses in the repo * review * fix Message Decode (cherry picked from commit abfbc7068816756f7ea3fa4a36ee0fe664c54c72) Co-authored-by: engineer124 <engineer124engineer124@gmail.com> * remove comments * Update src/overlays/gamestates/ovl_file_choose/z_file_choose_NES.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * format --------- Co-authored-by: engineer124 <engineer124engineer124@gmail.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/yaz0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/yaz0.c b/src/boot/yaz0.c
index edb7fc5cc..54a3481f1 100644
--- a/src/boot/yaz0.c
+++ b/src/boot/yaz0.c
@@ -1,7 +1,7 @@
#include "global.h"
#include "fault.h"
-u8 sYaz0DataBuffer[0x400];
+u8 sYaz0DataBuffer[0x400] ALIGNED(16);
u8* sYaz0CurDataEnd;
uintptr_t sYaz0CurRomStart;
u32 sYaz0CurSize;