mirror of
https://github.com/zeldaret/oot.git
synced 2024-09-22 13:25:00 +00:00
c8f4d66b00
* Mostly document fault and fault_drawer * FaultDrawer printf functions return s32 * Review Suggestions for comments Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com> * Some further review suggestions * Further changes from suggestions * Fix Fault_AddClient doc comment * Bug comment for memdump overrun, add more to Fault_PadCallback bug comment * mb -> MB, comment about bss above externs * Fix color codes Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>
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);
|
|
}
|