blob: 3c7ec71183e4924d2b3f5b9bffaf445af49842ec (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "ultra64.h"
void* osViGetCurrentFramebuffer(void) {
register u32 prevInt = __osDisableInt();
void* framep = __osViCurr->framep;
__osRestoreInt(prevInt);
return framep;
}
|