mirror of https://github.com/zeldaret/oot.git
16 lines
346 B
C
16 lines
346 B
C
#include "global.h"
|
|
|
|
void Audio_InvalDCache(void* buf, s32 size) {
|
|
OSIntMask prevMask = osSetIntMask(OS_IM_NONE);
|
|
|
|
osInvalDCache(buf, size);
|
|
osSetIntMask(prevMask);
|
|
}
|
|
|
|
void Audio_WritebackDCache(void* buf, s32 size) {
|
|
OSIntMask prevMask = osSetIntMask(OS_IM_NONE);
|
|
|
|
osWritebackDCache(buf, size);
|
|
osSetIntMask(prevMask);
|
|
}
|