PCem
view src/config.h @ 113:f749363ad763
Added per-device configuration.
Reworked configuration parser a bit.
Added configuration for S3 ViRGE and 8-bit Sound Blasters.
IRQ 2 routed to IRQ 9 on AT machines.
| author | TomW |
|---|---|
| date | Mon Jun 30 21:31:28 2014 +0100 |
| parents | fb4a67daaa1b |
| children | 55564c65aa15 |
line source
1 void set_config_file(char *s);
2 int get_config_int(char *head, char *name, int def);
3 char *get_config_string(char *head, char *name, char *def);
4 void set_config_int(char *head, char *name, int val);
5 void set_config_string(char *head, char *name, char *val);
7 char *get_filename(char *s);
8 void append_filename(char *dest, char *s1, char *s2, int size);
9 void put_backslash(char *s);
11 void config_load();
12 void config_save();
13 void config_dump();
14 void config_free();
