blob: c671a50f008a2fe00b1f94b6c773e19527473ed1 (
plain)
1
2
3
4
5
6
7
8
|
#include <global.h>
void osViSwapBuffer(void* vaddr) {
u32 int_disabled = __osDisableInt();
__osViNext->buffer = vaddr;
__osViNext->state |= 0x10; // TODO: figure out what this flag means
__osRestoreInt(int_disabled);
}
|