2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _DOLPHIN_VI
|
|
|
|
#define _DOLPHIN_VI
|
2022-08-30 04:05:16 +00:00
|
|
|
|
|
|
|
#include <dolphin/gx/GXStruct.h>
|
|
|
|
#include <dolphin/vifuncs.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void VIInit(void);
|
2023-10-20 02:10:34 +00:00
|
|
|
void VIConfigure(const GXRenderModeObj* rm);
|
2022-08-30 04:05:16 +00:00
|
|
|
void VIFlush(void);
|
|
|
|
u32 VIGetTvFormat(void);
|
2022-09-18 06:05:46 +00:00
|
|
|
void VISetNextFrameBuffer(void* fb);
|
2022-08-30 04:05:16 +00:00
|
|
|
void VIWaitForRetrace(void);
|
|
|
|
void VISetBlack(BOOL black);
|
|
|
|
|
|
|
|
#ifdef TARGET_PC
|
|
|
|
void VISetWindowTitle(const char* title);
|
|
|
|
void VISetWindowFullscreen(bool fullscreen);
|
|
|
|
bool VIGetWindowFullscreen();
|
|
|
|
#endif
|
|
|
|
|
2023-02-07 13:51:34 +00:00
|
|
|
|
2022-09-11 04:54:54 +00:00
|
|
|
|
2022-08-30 04:05:16 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _DOLPHIN_VI
|