broken movie support
[fceu.git] / input.h
1 typedef struct {
2         uint8 FP_FASTAPASS(1) (*Read)(int w);
3         void FP_FASTAPASS(1) (*Write)(uint8 v);
4         void FP_FASTAPASS(1) (*Strobe)(int w);
5         void FP_FASTAPASS(3) (*Update)(int w, void *data, int arg);
6         void FP_FASTAPASS(3) (*SLHook)(int w, uint8 *buf, int line);
7         void FP_FASTAPASS(3) (*Draw)(int w, uint8 *buf, int arg);
8 } INPUTC;
9
10 typedef struct {
11         uint8 FP_FASTAPASS(2) (*Read)(int w, uint8 ret);
12         void FP_FASTAPASS(1) (*Write)(uint8 v);
13         void (*Strobe)(void);
14         void FP_FASTAPASS(2) (*Update)(void *data, int arg);
15         void FP_FASTAPASS(2) (*SLHook)(uint8 *buf, int line);
16         void FP_FASTAPASS(2) (*Draw)(uint8 *buf, int arg);
17 } INPUTCFC;
18
19 void DrawInput(uint8 *buf);
20 void UpdateInput(void);
21 void InitializeInput(void);
22 extern void (*PStrobe[2])(void);
23 extern void (*InputScanlineHook)(uint8 *buf, int line);