prime/include/dolphin/vi.h

36 lines
619 B
C
Raw Normal View History

#ifndef _DOLPHIN_VI
#define _DOLPHIN_VI
#include <dolphin/gx/GXStruct.h>
#include <dolphin/vifuncs.h>
#ifdef __cplusplus
extern "C" {
#endif
void VIInit(void);
2022-09-18 06:05:46 +00:00
void VIConfigure(GXRenderModeObj* rm);
void VIFlush(void);
u32 VIGetTvFormat(void);
2022-09-18 06:05:46 +00:00
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__
2022-09-11 04:54:54 +00:00
vu16 __VIRegs[59] : 0xCC002000;
#else
vu16 __VIRegs[59];
#endif
2022-09-11 04:54:54 +00:00
#ifdef __cplusplus
}
#endif
#endif // _DOLPHIN_VI