Add skeleton architecture for displaying custom splash screen

This commit is contained in:
Michael Scire
2018-04-10 16:09:00 -06:00
parent 87605563d2
commit 9fadec60c5
6 changed files with 40 additions and 0 deletions

View File

@@ -136,6 +136,8 @@ static int loadlist_ini_handler(void *user, const char *section, const char *nam
/* Read in entrypoint as a hex string. */
sscanf(value, "%x", &x);
loader_ctx->chainload_entrypoint = (entrypoint_t)x;
} else if (strcmp(name, LOADER_CUSTOMSPLASH_KEY) == 0) {
strncpy(loader_ctx->custom_splash_path, value, sizeof(loader_ctx->custom_splash_path));
} else {
return 0;
}