fusee: Unmount *after* reading the splash screen.

This commit is contained in:
hexkyz 2018-08-31 22:52:31 +00:00 committed by GitHub
parent 58a42be38f
commit abf57d2e43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -381,9 +381,6 @@ void nxboot_main(void) {
}
free(package2);
/* Unmount everything. */
nxfs_unmount_all();
/* Clear used keyslots. */
clear_aes_keyslot(KEYSLOT_SWITCH_PACKAGE2KEY);
clear_aes_keyslot(KEYSLOT_SWITCH_RNGKEY);
@ -426,6 +423,9 @@ void nxboot_main(void) {
/* Display splash screen. */
display_splash_screen_bmp(loader_ctx->custom_splash_path);
/* Unmount everything. */
nxfs_unmount_all();
/* Turn off the backlight. */
display_backlight(false);