summaryrefslogtreecommitdiff
path: root/src/libultra_boot_O2/osViGetNextFramebuffer.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2020-03-22 19:17:31 -0400
committerGitHub <noreply@github.com>2020-03-22 19:17:31 -0400
commitd85168f0b088c8e5f661725f45946ca10cc82956 (patch)
tree458fc503a1d5b3003cb50a9bece9a1c2a0b4e700 /src/libultra_boot_O2/osViGetNextFramebuffer.c
parentb372169893f1e66654b03d9d39b44a59893da8ec (diff)
parent51290f612635a87d879b6332400ad526c479441e (diff)
Merge pull request #10 from Roman971/setup-formatter
Setup formatter script and format files in src/ and include/
Diffstat (limited to 'src/libultra_boot_O2/osViGetNextFramebuffer.c')
-rw-r--r--src/libultra_boot_O2/osViGetNextFramebuffer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libultra_boot_O2/osViGetNextFramebuffer.c b/src/libultra_boot_O2/osViGetNextFramebuffer.c
index 83eaa2705..a8b642603 100644
--- a/src/libultra_boot_O2/osViGetNextFramebuffer.c
+++ b/src/libultra_boot_O2/osViGetNextFramebuffer.c
@@ -1,9 +1,8 @@
#include <global.h>
-void* osViGetNextFramebuffer()
-{
+void* osViGetNextFramebuffer() {
s32 prevInt = __osDisableInt();
void* buff = __osViNext->buffer;
__osRestoreInt(prevInt);
return buff;
-} \ No newline at end of file
+}