瀏覽代碼

Don't overwrite %dl with a (potentially) modified drive number if we

already handled the INT13 call.
tags/v0.9.3
Michael Brown 17 年之前
父節點
當前提交
09118cd5bf
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/arch/i386/interface/pcbios/int13.c

+ 1
- 1
src/arch/i386/interface/pcbios/int13.c 查看文件

@@ -390,7 +390,7 @@ static void int13 ( struct i386_all_regs *ix86 ) {
390 390
 		/* Set OF to indicate to wrapper not to chain this call */
391 391
 		ix86->flags |= OF;
392 392
 
393
-		break;
393
+		return;
394 394
 	}
395 395
 
396 396
 	/* Remap BIOS drive */

Loading…
取消
儲存