:: commit 60742ea6a5fc1b95448ea23f4d3f2e3ecc5707db

mintsuki <mintsuki@protonmail.com> — 2021-02-25 23:34

parents: c2cbddb3fe

main: Add missing switch case for CD boot

diff --git a/stage23/main.c b/stage23/main.c
index 216e730d..5f9c4d22 100644
--- a/stage23/main.c
+++ b/stage23/main.c
@@ -48,7 +48,8 @@ void entry(uint8_t _boot_drive, int boot_from) {
     volume_create_index();
 
     switch (boot_from) {
-    case BOOT_FROM_HDD: {
+    case BOOT_FROM_HDD:
+    case BOOT_FROM_CD: {
         print("Boot drive: %x\n", boot_drive);
         struct volume boot_volume;
         volume_get_by_coord(&boot_volume, boot_drive, -1);
tab: 248 wrap: offon