From 4dcb2c6343b2f5285a53678918ebb0a7211d135b Mon Sep 17 00:00:00 2001 From: CTCaer Date: Thu, 12 Sep 2019 23:22:42 +0300 Subject: [PATCH] autoboot: Allow critical info to be shown This is part of the big refactoring which had all HOS fatal errors. --- bootloader/hos/sept.c | 1 + bootloader/main.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/bootloader/hos/sept.c b/bootloader/hos/sept.c index 0a5ca02..dade7f5 100644 --- a/bootloader/hos/sept.c +++ b/bootloader/hos/sept.c @@ -218,6 +218,7 @@ int reboot_to_sept(const u8 *tsec_fw, u32 kb) (*sept)(); error: + gfx_con.mute = false; EPRINTF("Failed to run sept\n"); btn_wait(); diff --git a/bootloader/main.c b/bootloader/main.c index 8bedb18..d3ff674 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -81,6 +81,7 @@ bool sd_mount() 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!"); } else @@ -94,6 +95,7 @@ bool sd_mount() } else { + gfx_con.mute = false; EPRINTFARGS("Failed to mount SD card (FatFS Error %d).\nMake sure that a FAT partition exists..", res); } }