mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-09 04:29:39 -04:00
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>
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
#include "global.h"
|
||||
#include "z64save.h"
|
||||
|
||||
SaveContext gSaveContext;
|
||||
#include "alignment.h"
|
||||
#include "sequence.h"
|
||||
#include "libc/stdbool.h"
|
||||
#include "z64environment.h"
|
||||
#include "z64transition.h"
|
||||
|
||||
SaveContext gSaveContext ALIGNED(16);
|
||||
|
||||
void SaveContext_Init(void) {
|
||||
bzero(&gSaveContext, sizeof(SaveContext));
|
||||
|
||||
Reference in New Issue
Block a user