-
Notifications
You must be signed in to change notification settings - Fork 0
/
uqlx_cfg.h
86 lines (68 loc) · 1.19 KB
/
uqlx_cfg.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*
* (c) UQLX - see COPYRIGHT
*/
#ifndef _qm_parse_h
#define _qm_parse_h
#include "emudisk.h"
typedef struct _qmlist
{
struct _qmlist *next;
void *udata;
} QMLIST;
typedef struct _rominfo
{
char *romname;
long romaddr;
} ROMITEM;
typedef struct
{
EMUDEV_t *qdev;
QMLIST *romlist;
long ramtop;
char romdir[128];
short color;
char sysrom[64];
char ser1[64];
char ser2[64];
char ser3[64];
char ser4[64];
char prtcmd[64];
#if 0
char hda[512];
char hdb[512];
char cdrom[512];
#endif
short cpu_hog;
short fastStartup;
short fwhite;
short xkey_on;
short do_grab;
short strict_lock;
short no_patch;
short pref_vid;
short pref_depth;
char pref_class[64];
char size_x[128];
char size_xx[128];
char size_xxx[128];
char xkey_switch[128];
char xkey_alt[128];
} QMDATA;
#define QMFILE "~/.uqlxrc"
extern FILE *lopen(const char *s, const char *mode);
extern char *ExpandName(char *);
#include <stddef.h>
typedef void (*PVFV)(void *, void *,...);
typedef union { int mval; void *(*mfun)();} uxt;
typedef struct
{
char *id;
PVFV func;
long offset;
uxt mx;
} PARSELIST;
#ifndef PATH_MAX
#include <limits.h>
#endif
extern QMDATA QMD;
#endif