Bootcore feature

[MiSTer]
; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; corename - Autoboot first corename_*.rbf found on the SD/USB
; corename_yyyymmdd.rbf - Autoboot first corename_yyyymmdd.rbf found on the SD/USB
;bootcore=lastcore    ; uncomment to autoboot a core, as the last loaded core.
bootcore_timeout=10  ; 10-30 timeout before autoboot, comment for autoboot without timeout.
This commit is contained in:
Aitor Gómez
2019-03-13 06:04:26 +01:00
committed by GitHub
parent 9c7f1a8780
commit ee250685e1
15 changed files with 389 additions and 9 deletions

View File

@@ -516,7 +516,7 @@ int fpga_load_rbf(const char *name, const char *cfg)
}
}
close(rbf);
app_restart(!strcasecmp(name, "menu.rbf") ? NULL : path);
app_restart(!strcasecmp(name, "menu.rbf") ? "menu.rbf" : path);
return ret;
}