mirror of
https://github.com/zeldaret/oot.git
synced 2024-09-22 21:35:27 +00:00
14 lines
314 B
C
14 lines
314 B
C
|
#include <global.h>
|
||
|
|
||
|
void func_800E6840(void* buf, s32 size) {
|
||
|
OSIntMask prevMask = osSetIntMask(1);
|
||
|
osInvalDCache(buf, size);
|
||
|
osSetIntMask(prevMask);
|
||
|
}
|
||
|
|
||
|
void func_800E6880(void* buf, s32 size) {
|
||
|
OSIntMask prevMask = osSetIntMask(1);
|
||
|
osWritebackDCache(buf, size);
|
||
|
osSetIntMask(prevMask);
|
||
|
}
|