Files
Main/mist_cfg.h
2017-07-11 23:26:30 +08:00

39 lines
586 B
C

// mist_cfg.h
// 2015, rok.krajnc@gmail.com
#ifndef __MIST_CFG_H__
#define __MIST_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 video_mode;
uint8_t hdmi_audio_96k;
} mist_cfg_t;
//// functions ////
void mist_ini_parse();
//// global variables ////
extern const ini_cfg_t mist_ini_cfg;
extern mist_cfg_t mist_cfg;
#endif // __MIST_CFG_H__