forked from MiSTer-devel/Main_MiSTer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcfg.h
45 lines (36 loc) · 779 Bytes
/
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
// cfg.h
// 2015, [email protected]
// 2017+, Sorgelig
#ifndef __CFG_H__
#define __CFG_H__
//// includes ////
#include <inttypes.h>
#include "ini_parser.h"
//// type definitions ////
typedef struct {
uint32_t keyrah_mode;
uint8_t forced_scandoubler;
uint8_t key_menu_as_rgui;
uint8_t reset_combo;
uint8_t ypbpr;
uint8_t csync;
uint8_t vga_scaler;
uint8_t hdmi_audio_96k;
uint8_t dvi;
uint8_t video_mode;
uint8_t video_info;
uint8_t vsync_adjust;
uint8_t kbd_nomouse;
uint8_t mouse_throttle;
uint8_t bootscreen;
uint8_t volumectl;
uint8_t vscale_mode;
uint8_t vscale_border;
char video_conf[1024];
} cfg_t;
//// functions ////
void MiSTer_ini_parse();
//// global variables ////
extern const ini_cfg_t ini_cfg;
extern cfg_t cfg;
#endif // __CFG_H__