An "@" line in bootOptions.cfg names a built-in entry by its autoboot.cfg
name (@wiiu_menu, @homebrew_launcher, @vwii_system_menu,
@vwii_homebrew_channel). When the file has any, entries appear in the
order of its lines; built-in entries it doesn't list follow in the usual
order, so none can disappear, and unavailable ones stay hidden. Without
"@" lines the menu looks as before. Names match in any case, an unknown
one is skipped with a log message, and a byte order mark that some
editors write at the start of the file is ignored.
The menu is now an ordered list instead of a map keyed by option id,
which also fixes the autoboot highlight and the starting cursor: they
were found by matching ids to positions, which skipped the Wii U Menu
(id 0) as the autoboot option. With no autoboot option the cursor starts
on the Wii U Menu, as before.
Review copy inside the fork, for CodeRabbit and the build check. It will be closed afterwards; nothing here goes upstream from this PR.
@lines inbootOptions.cfgset the boot menu order; with no autoboot entry the cursor starts on the first entry. Stacked on pr-entries.Summary by CodeRabbit
@lines inbootOptions.cfg, placing selected built-in options alongside custom entries. Built-in options not listed remain in their usual order, and unavailable options are omitted.