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:
2
main.cpp
2
main.cpp
@@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include "input.h"
|
||||
#include "fpga_io.h"
|
||||
#include "scheduler.h"
|
||||
#include "bootcore.h"
|
||||
|
||||
const char *version = "$VER:HPS" VDATE;
|
||||
|
||||
@@ -65,6 +66,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
FindStorage();
|
||||
bootcore_init(argc > 1 ? argv[1] : "");
|
||||
user_io_init((argc > 1) ? argv[1] : "");
|
||||
|
||||
scheduler_init();
|
||||
|
||||
Reference in New Issue
Block a user