CTCaer / hekate

hekate - A GUI based Nintendo Switch Bootloader
GNU General Public License v2.0
6.71k stars 572 forks source link

[Enhancement] Option to preserve current boot entry on HOS reboot #455

Open AuroraWright opened 4 years ago

AuroraWright commented 4 years ago

Assuming a user has more than one HOS boot entry (e.g. two emuMMCs, or sysMMC + emuMMC, ...) and hekate is used as the AMS reboot payload, I think it would be useful if a setting was provided to autoboot into the same entry without needing to select it again. As an example, a user might have to reboot only to load/unload a sysmodule.

CTCaer commented 4 years ago

Dunno if a feature like that has any merit. Most users don't normally reboot only to reboot. And many that develop and need to reboot often, they use autoboot to automatically boot into their dev fw (and also disable the bootlogo or use 1s delay).

When I first made Nyx I considered something similar. Remnants of it can be seen here: https://github.com/CTCaer/hekate/blob/8058d550abf8dabdb8b7dc284ca4cbfc6e2bb21c/nyx/nyx_gui/frontend/gui.c#L1832-L1838 It was basically a launch last booted entry. Issue is that I never liked writing to sd on every boot to save that. Something that your feature request also needs.

Also, have in mind that hekate supports boot configuration parameters. One homebrew that uses that is https://github.com/WerWolv/Hekate-Toolbox It can basically read the inis and reboot immediately to the selected entry.

Anyway, I'll think about it.

impeeza commented 3 years ago

You can use:

https://github.com/HookedBehemoth/studious-pancake

To select which option to boot in a convenient overlay