mirror of
https://github.com/zeldaret/oot.git
synced 2024-09-23 13:54:44 +00:00
10 lines
237 B
C
10 lines
237 B
C
#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);
|
|
}
|