INI option to disable logo in Menu core.
This commit is contained in:
@@ -116,3 +116,6 @@ sniper_mode=0
|
||||
|
||||
; Uncomment following option if you don't want to see a second line for long file names in listing.
|
||||
;browse_expand=0
|
||||
|
||||
; 0 - disable MiSTer logo in Menu core
|
||||
logo=1
|
||||
|
||||
2
cfg.cpp
2
cfg.cpp
@@ -70,6 +70,7 @@ static const ini_var_t ini_vars[] =
|
||||
{ "JAMMA_PID", (void*)(&(cfg.jamma_pid)), UINT16, 0, 0xFFFF },
|
||||
{ "SNIPER_MODE", (void*)(&(cfg.sniper_mode)), UINT8, 0, 1 },
|
||||
{ "BROWSE_EXPAND", (void*)(&(cfg.browse_expand)), UINT8, 0, 1 },
|
||||
{ "LOGO", (void*)(&(cfg.logo)), UINT8, 0, 1 },
|
||||
};
|
||||
|
||||
static const int nvars = (int)(sizeof(ini_vars) / sizeof(ini_var_t));
|
||||
@@ -315,5 +316,6 @@ void cfg_parse()
|
||||
cfg.fb_terminal = 1;
|
||||
cfg.controller_info = 6;
|
||||
cfg.browse_expand = 1;
|
||||
cfg.logo = 1;
|
||||
ini_parse(altcfg());
|
||||
}
|
||||
|
||||
1
cfg.h
1
cfg.h
@@ -44,6 +44,7 @@ typedef struct {
|
||||
uint16_t jamma_pid;
|
||||
uint8_t sniper_mode;
|
||||
uint8_t browse_expand;
|
||||
uint8_t logo;
|
||||
char bootcore[256];
|
||||
char video_conf[1024];
|
||||
char video_conf_pal[1024];
|
||||
|
||||
Reference in New Issue
Block a user