Shipwright/soh/src/libultra/io/viswapbuf.c

11 lines
229 B
C
Raw Normal View History

#include "global.h"
void osViSwapBuffer(void* vaddr) {
u32 prevInt = __osDisableInt();
__osViNext->buffer = vaddr;
__osViNext->state |= 0x10; // TODO: figure out what this flag means
__osRestoreInt(prevInt);
}