mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-05 23:44:53 +00:00
* Restructure files, begin header restructure * Format * us2dex * Fix parallel spelling Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> * Use OS_K0_TO_PHYSICAL in place of VIRTUAL_TO_PHYSICAL in osAiSetNextBuffer * Uppercase hex, exception vector address defines * Interrupt flags 1 Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Interrupt flags 2 Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
15 lines
328 B
C
15 lines
328 B
C
#include "global.h"
|
|
|
|
void Audio_InvalDCache(void* buf, s32 size) {
|
|
OSIntMask prevMask = osSetIntMask(1);
|
|
|
|
osInvalDCache(buf, size);
|
|
osSetIntMask(prevMask);
|
|
}
|
|
|
|
void Audio_WritebackDCache(void* buf, s32 size) {
|
|
OSIntMask prevMask = osSetIntMask(1);
|
|
|
|
osWritebackDCache(buf, size);
|
|
osSetIntMask(prevMask);
|
|
}
|