summaryrefslogtreecommitdiff
path: root/include/dolphin/gx/GXManage.h
blob: ab3a72c848b46b5365ab1ae0304281b0f99c1eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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);
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