From 9fa0a7f1da1b70bee995f53c6c96c43189018772 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 1 Feb 2023 18:45:02 -0400 Subject: global: Import Dolphin SDK This version comes from the Metroid Prime decompilation project. https://github.com/PrimeDecomp/prime --- include/dolphin/vi.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 include/dolphin/vi.h (limited to 'include/dolphin/vi.h') diff --git a/include/dolphin/vi.h b/include/dolphin/vi.h new file mode 100644 index 0000000..fdedc8c --- /dev/null +++ b/include/dolphin/vi.h @@ -0,0 +1,35 @@ +#ifndef _DOLPHIN_VI +#define _DOLPHIN_VI + +#include +#include + +#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 -- cgit v1.2.3-13-gbd6f