mirror of
https://github.com/CTCaer/hekate
synced 2024-11-16 00:49:27 +00:00
tui: Always print an error when Nyx is missing
This commit is contained in:
parent
b61b212218
commit
c24d943122
1 changed files with 7 additions and 8 deletions
|
@ -157,14 +157,13 @@ void *tui_do_menu(menu_t *menu)
|
|||
gfx_con_setcol(0xFFCCCCCC, 1, 0xFF1B1B1B);
|
||||
gfx_putc('\n');
|
||||
|
||||
// Print help and battery status.
|
||||
gfx_con_setpos(0, 1127);
|
||||
if (h_cfg.errors)
|
||||
{
|
||||
gfx_printf("%k Warning: %k", 0xFF800000, 0xFF555555);
|
||||
if (h_cfg.errors & ERR_LIBSYS_LP0)
|
||||
gfx_printf("Sleep mode library is missing!\n");
|
||||
}
|
||||
// Print erros, help and battery status.
|
||||
gfx_con_setpos(0, h_cfg.errors ? 1111 : 1127);
|
||||
gfx_printf("%k Warning: %k", 0xFF800000, 0xFF555555);
|
||||
if (h_cfg.errors & ERR_LIBSYS_LP0)
|
||||
gfx_printf("Sleep mode library is missing!\n");
|
||||
gfx_printf(" Nyx is missing!\n");
|
||||
|
||||
gfx_con_setpos(0, 1191);
|
||||
gfx_printf("%k VOL: Move up/down\n PWR: Select option%k", 0xFF555555, 0xFFCCCCCC);
|
||||
|
||||
|
|
Loading…
Reference in a new issue