From 61f99e76577f9704020e60bb0b963f6d48d943d2 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 22 Sep 2006 23:49:23 -0700 Subject: [PATCH] KernelType is a byte, not a word, oops... --- ui.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.inc b/ui.inc index ab39567..33d7e59 100644 --- a/ui.inc +++ b/ui.inc @@ -514,7 +514,7 @@ kernel_good: ; At this point, DX:AX contains the size of the kernel, SI contains ; the file handle/cluster pointer, and ECX contains the extension (if any.) ; - mov di,[KernelType] + movzx di,byte [KernelType] add di,di jmp [kerneltype_table+di] -- 2.7.4