From 3d150f3e1d84259b05f2831be35fa6fd38e43232 Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Tue, 14 Nov 2023 08:46:22 -0300 Subject: 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 * 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 Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> --- src/code/z_parameter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/code/z_parameter.c') diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index cf3b93b7d..cf7fbd1e3 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -5441,7 +5441,7 @@ void Interface_StartMoonCrash(PlayState* play) { play->transitionType = TRANS_TYPE_FADE_WHITE; } -void Interface_GetTimerDigits(OSTime time, s16* timerArr) { +void Interface_GetTimerDigits(OSTime time, s16 timerArr[8]) { OSTime t = time; // 6 minutes -- cgit v1.2.3