INI option to disable boot screen of some cores.

This commit is contained in:
sorgelig
2018-05-09 17:37:01 +08:00
parent db8c74d76d
commit ab05a80e10
4 changed files with 26 additions and 18 deletions

View File

@@ -12,6 +12,7 @@ cfg_t cfg;
void MiSTer_ini_parse()
{
memset(&cfg, 0, sizeof(cfg));
cfg.bootscreen = 1;
ini_parse(&ini_cfg);
}
@@ -37,6 +38,7 @@ const ini_var_t ini_vars[] = {
{ "DVI_MODE", (void*)(&(cfg.dvi)), UINT8, 0, 1, 1 },
{ "KBD_NOMOUSE", (void*)(&(cfg.kbd_nomouse)), UINT8, 0, 1, 1 },
{ "MOUSE_THROTTLE", (void*)(&(cfg.mouse_throttle)), UINT8, 1, 100, 1 },
{ "BOOTSCREEN", (void*)(&(cfg.bootscreen)), UINT8, 0, 1, 1 },
};
// mist ini config