blob: b7ab9f9170eb3c8484571c567bfe51038bf46504 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#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);
}
|