From 60742ea6a5fc1b95448ea23f4d3f2e3ecc5707db Mon Sep 17 00:00:00 2001 From: mintsuki Date: Fri, 26 Feb 2021 00:34:36 +0100 Subject: [PATCH] main: Add missing switch case for CD boot --- stage23/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);