summaryrefslogtreecommitdiff
path: root/include/dolphin/vi.h
blob: fdedc8c5e3b7682a0a054b87bd38bff6cd6c762f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _DOLPHIN_VI
#define _DOLPHIN_VI

#include <dolphin/gx/GXStruct.h>
#include <dolphin/vifuncs.h>

#ifdef __cplusplus
extern "C" {
#endif

void VIInit(void);
void VIConfigure(GXRenderModeObj* rm);
void VIFlush(void);
u32 VIGetTvFormat(void);
void VISetNextFrameBuffer(void* fb);
void VIWaitForRetrace(void);
void VISetBlack(BOOL black);

#ifdef TARGET_PC
void VISetWindowTitle(const char* title);
void VISetWindowFullscreen(bool fullscreen);
bool VIGetWindowFullscreen();
#endif

#ifdef __MWERKS__
vu16 __VIRegs[59] : 0xCC002000;
#else
vu16 __VIRegs[59];
#endif

#ifdef __cplusplus
}
#endif

#endif // _DOLPHIN_VI