mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-29 21:12:06 +00:00
Push changes as requested
This commit is contained in:
parent
e3421fd44e
commit
216d97aada
1 changed files with 6 additions and 11 deletions
|
@ -949,19 +949,14 @@ int hos_launch(ini_sec_t *cfg)
|
||||||
{
|
{
|
||||||
EHPRINTFARGS("Failed to apply '%s'!", unappliedPatch);
|
EHPRINTFARGS("Failed to apply '%s'!", unappliedPatch);
|
||||||
|
|
||||||
bool prevent_sysmmc_boot = false;
|
bool emmc_patch_failed = !strcmp(unappliedPatch, "emummc");
|
||||||
if (!strcmp(unappliedPatch, "emummc") && ctxt.emummc_forced)
|
if (!emmc_patch_failed)
|
||||||
prevent_sysmmc_boot = true;
|
{
|
||||||
|
|
||||||
if (prevent_sysmmc_boot)
|
|
||||||
gfx_puts("\nPress POWER or VOL to go to the menu.\n");
|
|
||||||
else
|
|
||||||
gfx_puts("\nPress POWER to continue.\nPress VOL to go to the menu.\n");
|
gfx_puts("\nPress POWER to continue.\nPress VOL to go to the menu.\n");
|
||||||
|
display_backlight_brightness(h_cfg.backlight, 1000);
|
||||||
|
}
|
||||||
|
|
||||||
display_backlight_brightness(h_cfg.backlight, 1000);
|
if (emmc_patch_failed || !(btn_wait() & BTN_POWER))
|
||||||
|
|
||||||
u32 btn = btn_wait();
|
|
||||||
if (prevent_sysmmc_boot || !(btn & BTN_POWER))
|
|
||||||
{
|
{
|
||||||
_free_launch_components(&ctxt);
|
_free_launch_components(&ctxt);
|
||||||
goto error; // MUST stop here, because if user requests 'nogc' but it's not applied, their GC controller gets updated!
|
goto error; // MUST stop here, because if user requests 'nogc' but it's not applied, their GC controller gets updated!
|
||||||
|
|
Loading…
Reference in a new issue