disk: BIOS: Fix wrong logical operator from 9476b3dfaa35a77329686c6e1e10690c6e1a1855
diff --git a/common/drivers/disk.s2.c b/common/drivers/disk.s2.c
index b8f5a64c..e7016c06 100644
--- a/common/drivers/disk.s2.c
+++ b/common/drivers/disk.s2.c
@@ -242,7 +242,7 @@ void disk_create_index(void) {
dpte = (void *)rm_desegment(drive_params.dpte_seg, drive_params.dpte_off);
if ((dpte->control_port & 0xff00) != 0xa000) {
// Check for removable (5) or ATAPI (6)
- is_removable = is_removable && ((dpte->flags & (1 << 5)) || (dpte->flags & (1 << 6)));
+ is_removable = is_removable || ((dpte->flags & (1 << 5)) || (dpte->flags & (1 << 6)));
}
}
