mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-10 03:05:14 -04:00
27903c6286
* code_80194710.c OK * Add new line after variable declaration * format * Function declarations * Name changes to match OoT * Rename file * s32 -> size_t
16 lines
334 B
C
16 lines
334 B
C
#include "global.h"
|
|
|
|
void Audio_InvalDCache(void* buf, size_t size) {
|
|
OSIntMask prevMask = osSetIntMask(1);
|
|
|
|
osInvalDCache(buf, size);
|
|
osSetIntMask(prevMask);
|
|
}
|
|
|
|
void Audio_WritebackDCache(void* buf, size_t size) {
|
|
OSIntMask prevMask = osSetIntMask(1);
|
|
|
|
osWritebackDCache(buf, size);
|
|
osSetIntMask(prevMask);
|
|
}
|