From d1a5ea5110ee3a8e7d2f0ed54921570fdccee65c Mon Sep 17 00:00:00 2001 From: krimtonz <33664508+krimtonz@users.noreply.github.com> Date: Tue, 27 Jul 2021 18:44:58 -0500 Subject: Audio WIP (#836) * being code_800EC960 * wip * wip * more audio progress * migrate data in code_800E11F0 * wip * make ok * remove asm * wip * move some variables outside of gAudioContext to the AudioContext structure due to the size used in func_800E3094 * more progress * wip * wip * split code_800E11F0 * migrate rodata in code_800E11F0 * match functions that couldn't because of data issues * move code_800E4FE0 asm files * wip * more wip * fix global functions, and forward declarations * wip * wip * wip * ocarina wip * match a couple functions * some progress * separate some bss * match func_800EDA3C * some matching * more matches * migrate audio rodata * some matches * more matchess * start on synthesis * work on synthesis * fix function declaration * Merge branch 'master' into audio * match a few more functions * wip * wip * more matching, rename Audio_SetBGM to Audio_QueueSeqCmd * name several audio functions, and audiocontext members * more naming, rename code_800E11F0 to audio_load, code_800DAAC0 to audio_synthesis * audio wip * match a few more functions. * wip * add missing NON_MATCHING directive * wip * some matching, data reogranization * match cursed function * wip * wip * formatting * remove prefix from struct memebers * missed function rename * review Co-authored-by: fig02 --- src/libultra_code_O2/code_800E6840.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libultra_code_O2') diff --git a/src/libultra_code_O2/code_800E6840.c b/src/libultra_code_O2/code_800E6840.c index b5099ce9f..b24163f70 100644 --- a/src/libultra_code_O2/code_800E6840.c +++ b/src/libultra_code_O2/code_800E6840.c @@ -1,12 +1,12 @@ #include "global.h" -void func_800E6840(void* buf, s32 size) { +void Audio_osInvalDCache(void* buf, s32 size) { OSIntMask prevMask = osSetIntMask(1); osInvalDCache(buf, size); osSetIntMask(prevMask); } -void func_800E6880(void* buf, s32 size) { +void Audio_osWritebackDCache(void* buf, s32 size) { OSIntMask prevMask = osSetIntMask(1); osWritebackDCache(buf, size); osSetIntMask(prevMask); -- cgit v1.2.3