summaryrefslogtreecommitdiff
path: root/src/libultra_boot_O2/osViGetNextFramebuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libultra_boot_O2/osViGetNextFramebuffer.c')
-rw-r--r--src/libultra_boot_O2/osViGetNextFramebuffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libultra_boot_O2/osViGetNextFramebuffer.c b/src/libultra_boot_O2/osViGetNextFramebuffer.c
index 86f8549ab..aaf44ce4a 100644
--- a/src/libultra_boot_O2/osViGetNextFramebuffer.c
+++ b/src/libultra_boot_O2/osViGetNextFramebuffer.c
@@ -1,8 +1,9 @@
#include "global.h"
-void* osViGetNextFramebuffer() {
+void* osViGetNextFramebuffer(void) {
s32 prevInt = __osDisableInt();
void* buff = __osViNext->buffer;
+
__osRestoreInt(prevInt);
return buff;
}