prime/include/dolphin/gx/GXManage.h

30 lines
551 B
C

#ifndef _DOLPHIN_GXMANAGE
#define _DOLPHIN_GXMANAGE
#include <dolphin/gx/GXFifo.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*GXDrawDoneCallback)(void);
GXFifoObj* GXInit(void* base, u32 size);
void GXAbortFrame();
void GXSetDrawSync(u16 token);
u16 GXReadDrawSync(void);
GXDrawDoneCallback GXSetDrawDoneCallback(GXDrawDoneCallback cb);
void GXDrawDone(void);
void GXSetDrawDone(void);
void GXFlush(void);
void GXPixModeSync(void);
void GXSetMisc(GXMiscToken token, u32 val);
#ifdef __cplusplus
}
#endif
#endif // _DOLPHIN_GXMANAGE