prevent a crash if the cpu is already in real mode when the app starts (tueidj)
[libogc.git] / wiiuse / io.h
blobd7a5326a826729e9c2200970118eaac1a84723c0
1 #ifndef __IO_H__
2 #define __IO_H__
4 #include "wiiuse_internal.h"
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 void wiiuse_handshake(struct wiimote_t* wm,ubyte *data,uword len);
11 void wiiuse_handshake_expansion_start(struct wiimote_t *wm);
12 void wiiuse_handshake_expansion(struct wiimote_t *wm,ubyte *data,uword len);
13 void wiiuse_disable_expansion(struct wiimote_t *wm);
15 int wiiuse_io_read(struct wiimote_t* wm);
16 int wiiuse_io_write(struct wiimote_t* wm, ubyte* buf, int len);
18 #ifdef __cplusplus
20 #endif
22 #endif