diff --git a/README.md b/README.md index 3686e88..861c070 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ There are four possible type of entries. "**[ ]**": Boot entry, "**{ }**": Capti | Config option | Description | | ------------------ | ---------------------------------------------------------- | | autoboot=0 | 0: Disable, #: Boot entry number to auto boot. | -| autoboot_list=0 | 0: Read boot entries from main configuration, 1: Read boot entries from ini folder (in lexicographical order). | +| autoboot_list=0 | 0: Read `autoboot` boot entry from hekate_ipl.ini, 1: Read from ini folder (ini files are ASCII ordered). | | bootwait=3 | 0: Disable (It also disables bootlogo. Having **VOL-** pressed since injection goes to menu.), #: Time to wait for **VOL-** to enter menu. | | verification=2 | 0: Disable Backup/Restore verification, 1: Sparse (block based, fast and not 100% reliable), 2: Full (sha256 based, slow and 100% reliable). | | autohosoff=1 | 0: Disable, 1: If woke up from HOS via an RTC alarm, shows logo, then powers off completely, 2: No logo, immediately powers off.| diff --git a/bootloader/utils/dirlist.c b/bootloader/utils/dirlist.c index 62e2123..863edbf 100644 --- a/bootloader/utils/dirlist.c +++ b/bootloader/utils/dirlist.c @@ -74,6 +74,7 @@ char *dirlist(const char *directory, const char *pattern, bool includeHiddenFile return NULL; } + // Reorder ini files by ASCII ordering. for (i = 0; i < k - 1 ; i++) { for (j = i + 1; j < k; j++)