diff options
Diffstat (limited to 'src/libultra_code_O2/code_800E6840.c')
| -rw-r--r-- | src/libultra_code_O2/code_800E6840.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libultra_code_O2/code_800E6840.c b/src/libultra_code_O2/code_800E6840.c new file mode 100644 index 000000000..b5099ce9f --- /dev/null +++ b/src/libultra_code_O2/code_800E6840.c @@ -0,0 +1,13 @@ +#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); +} |
