osViBlack.c (317B)
1 #include "libultra_internal.h" 2 3 extern OSViContext *__osViNext; 4 5 // TODO: name magic constants 6 void osViBlack(u8 active) { 7 register u32 int_disabled = __osDisableInt(); 8 if (active) { 9 __osViNext->unk00 |= 0x20; 10 } else { 11 __osViNext->unk00 &= ~0x20; 12 } 13 __osRestoreInt(int_disabled); 14 }