forked from rofl0r/gnuboy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsys.h
39 lines (29 loc) · 722 Bytes
/
sys.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef VID_H
#define VID_H
/* stuff implemented by the different sys/ backends */
void vid_begin();
void vid_end();
void vid_init();
void vid_preinit();
void vid_close();
void vid_setpal(int i, int r, int g, int b);
void vid_settitle(char *title);
void pcm_init();
int pcm_submit();
void pcm_close();
void pcm_pause(int dopause);
void ev_poll(int wait);
void sys_checkdir(char *path, int wr);
void sys_sleep(int us);
void sys_sanitize(char *s);
void joy_init();
void joy_poll();
void joy_close();
void kb_init();
void kb_poll();
void kb_close();
/* FIXME these have different prototype for obsolete ( == M$ ) platforms */
#include <sys/time.h>
int sys_elapsed(struct timeval *prev);
void sys_initpath();
#endif