blob: 3a822bb1fecb382d6f958328c83f887c65e43260 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "PR/os_internal.h"
#include "PR/viint.h"
// TODO: this comes from a header
#ident "$Revision: 1.17 $"
void osViBlack(u8 active) {
register u32 saveMask = __osDisableInt();
if (active) {
__osViNext->state |= VI_STATE_BLACK;
} else {
__osViNext->state &= ~VI_STATE_BLACK;
}
__osRestoreInt(saveMask);
}
|