2022-08-30 04:05:16 +00:00
|
|
|
#ifndef DOLPHIN_VI_H
|
|
|
|
#define DOLPHIN_VI_H
|
|
|
|
|
|
|
|
#include <dolphin/gx/GXStruct.h>
|
|
|
|
#include <dolphin/vifuncs.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-10-02 07:43:00 +00:00
|
|
|
|
2022-08-30 04:05:16 +00:00
|
|
|
void VIInit(void);
|
2022-09-18 06:05:46 +00:00
|
|
|
void VIConfigure(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
|
|
|
|
|
2022-09-11 04:54:54 +00:00
|
|
|
vu16 __VIRegs[59] : 0xCC002000;
|
|
|
|
|
2022-08-30 04:05:16 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|