mirror of
https://github.com/zeldaret/oot.git
synced 2024-09-23 05:45:03 +00:00
14 lines
273 B
C
14 lines
273 B
C
|
#include <global.h>
|
||
|
|
||
|
// TODO: name magic constants
|
||
|
void osViBlack(u8 active)
|
||
|
{
|
||
|
register u32 int_disabled = __osDisableInt();
|
||
|
if (active) {
|
||
|
__osViNext->state |= 0x20;
|
||
|
} else {
|
||
|
__osViNext->state &= ~0x20;
|
||
|
}
|
||
|
__osRestoreInt(int_disabled);
|
||
|
}
|