1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-22 21:35:27 +00:00
oot/src/libultra_boot_O2/osViGetNextFramebuffer.c

9 lines
175 B
C
Raw Normal View History

2020-03-17 04:31:30 +00:00
#include <global.h>
2020-03-22 21:19:43 +00:00
void* osViGetNextFramebuffer() {
2020-03-17 04:31:30 +00:00
s32 prevInt = __osDisableInt();
void* buff = __osViNext->buffer;
__osRestoreInt(prevInt);
return buff;
2020-03-22 21:19:43 +00:00
}