1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-12-23 16:36:03 +00:00

autoboot: Allow critical info to be shown

This is part of the big refactoring which had all HOS fatal errors.
This commit is contained in:
CTCaer 2019-09-12 23:22:42 +03:00
parent 95a6f2b763
commit 4dcb2c6343
2 changed files with 3 additions and 0 deletions

View file

@ -218,6 +218,7 @@ int reboot_to_sept(const u8 *tsec_fw, u32 kb)
(*sept)(); (*sept)();
error: error:
gfx_con.mute = false;
EPRINTF("Failed to run sept\n"); EPRINTF("Failed to run sept\n");
btn_wait(); btn_wait();

View file

@ -81,6 +81,7 @@ bool sd_mount()
if (!sdmmc_storage_init_sd(&sd_storage, &sd_sdmmc, SDMMC_1, SDMMC_BUS_WIDTH_4, 11)) if (!sdmmc_storage_init_sd(&sd_storage, &sd_sdmmc, SDMMC_1, SDMMC_BUS_WIDTH_4, 11))
{ {
gfx_con.mute = false;
EPRINTF("Failed to init SD card.\nMake sure that it is inserted.\nOr that SD reader is properly seated!"); EPRINTF("Failed to init SD card.\nMake sure that it is inserted.\nOr that SD reader is properly seated!");
} }
else else
@ -94,6 +95,7 @@ bool sd_mount()
} }
else else
{ {
gfx_con.mute = false;
EPRINTFARGS("Failed to mount SD card (FatFS Error %d).\nMake sure that a FAT partition exists..", res); EPRINTFARGS("Failed to mount SD card (FatFS Error %d).\nMake sure that a FAT partition exists..", res);
} }
} }