NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
SIBios.h
1#ifndef RVL_SDK_SI_SIBIOS_H
2#define RVL_SDK_SI_SIBIOS_H
3#include <types.h>
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef enum {
9 SI_CHAN_0,
10 SI_CHAN_1,
11 SI_CHAN_2,
12 SI_CHAN_3,
13
14 SI_MAX_CHAN,
15 SI_CHAN_NONE = -1,
16} SIChannel;
17
18typedef enum {
19 SI_TYPE_0,
20 SI_TYPE_1,
21 SI_TYPE_2,
22 SI_TYPE_3,
23
24 SI_MAX_TYPE
25} SIType;
26
27typedef void (*SICallback)(s32 chan, u32 status);
28
29void SIInit(void);
30u32 SISetXY(u32 lines, u32 times);
31BOOL SITransfer(s32 chan, void* outAddr, u32 outSize, void* inAddr, u32 inSize,
32 SICallback callback, s64 wait);
33u32 SIGetType(s32 chan);
34
35#ifdef __cplusplus
36}
37#endif
38#endif