From 4444c5ea35a272e9e9ea157df92d7bb3eac8fc05 Mon Sep 17 00:00:00 2001 From: zelda2774 <69368340+zelda2774@users.noreply.github.com> Date: Wed, 1 Sep 2021 00:53:35 +0200 Subject: audio_synthesis OK + partially documented (#920) * Match func_800DDB64 * Match func_800DC910 * remove stack comments * Move nop padding to ucode_disas * Partially label audio_synthesis To some extent copied from sm64. * cleanup * Reverb and ReverbBits have nothing to do with reverbs * review * naming * Undo changes to permuter_settings.toml Co-authored-by: zelda2774 --- src/code/ucode_disas.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/code/ucode_disas.c') diff --git a/src/code/ucode_disas.c b/src/code/ucode_disas.c index 81301f2cc..00335dd20 100644 --- a/src/code/ucode_disas.c +++ b/src/code/ucode_disas.c @@ -283,3 +283,8 @@ void UCodeDisas_RegisterUCode(UCodeDisas* this, s32 count, UCodeInfo* ucodeArray void UCodeDisas_SetCurUCode(UCodeDisas* this, void* ptr) { UCodeDisas_SetCurUCodeImpl(this, ptr); } + +// 4 bytes of nops, separating this file from audio_synthesis and padding .text +// to a 32-byte boundary. Unclear what this comes from... maybe the audio +// library was built separately and aligned to 32 bytes? +#pragma GLOBAL_ASM("asm/non_matchings/code/ucode_disas/pad_800DACB0.s") -- cgit v1.2.3