From 892dba3a715543a48069e052308328a3df73fc0e Mon Sep 17 00:00:00 2001 From: CTCaer Date: Wed, 17 Dec 2025 04:45:20 +0200 Subject: [PATCH] hekate: exo: simplify fatal screen to save space And remove an obsolete message. --- bootloader/hos/secmon_exo.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/bootloader/hos/secmon_exo.c b/bootloader/hos/secmon_exo.c index dc9be112..834b3e7f 100644 --- a/bootloader/hos/secmon_exo.c +++ b/bootloader/hos/secmon_exo.c @@ -456,8 +456,6 @@ static const char *get_error_desc(u32 error_desc) } } -#define HOS_PID_BOOT2 0x8 - void secmon_exo_check_panic() { volatile atm_fatal_error_ctx *rpt = (atm_fatal_error_ctx *)ATM_FATAL_ERR_CTX_ADDR; @@ -469,14 +467,10 @@ void secmon_exo_check_panic() gfx_clear_grey(0x1B); gfx_con_setpos(0, 0); - WPRINTF("Panic occurred while running Atmosphere.\n\n"); + WPRINTF("Atmosphere panic occurred!\n\n"); WPRINTFARGS("Title ID: %08X%08X", (u32)((u64)rpt->title_id >> 32), (u32)rpt->title_id); WPRINTFARGS("Error: %s (0x%x)\n", get_error_desc(rpt->error_desc), rpt->error_desc); - // Check if mixed atmosphere sysmodules. - if ((u32)rpt->title_id == HOS_PID_BOOT2) - WPRINTF("Mismatched Atmosphere files?\n"); - // Save context to the SD card. char filepath[0x40]; f_mkdir("atmosphere/fatal_errors"); @@ -496,13 +490,11 @@ void secmon_exo_check_panic() rpt->magic = 0; gfx_printf("\n\nPress POWER to continue.\n"); + gfx_con_setpos(0, 0); - display_backlight_brightness(100, 1000); + display_backlight_brightness(150, 1000); msleep(1000); while (!(btn_wait() & BTN_POWER)) ; - - display_backlight_brightness(0, 1000); - gfx_con_setpos(0, 0); }