mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-24 15:20:49 -04:00
code_80194710 OK (Audio libultra_code_O2) (#474)
* code_80194710.c OK * Add new line after variable declaration * format * Function declarations * Name changes to match OoT * Rename file * s32 -> size_t
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#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);
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
#include "global.h"
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/code_80194710/func_80194710.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/code_80194710/func_80194750.s")
|
||||
Reference in New Issue
Block a user