summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-22 08:08:08 +0000
committerhpa <hpa>2004-12-22 08:08:08 +0000
commit1eb1cb9dcf08889a02e9d9b7ecd5b9a6f5e258da (patch)
tree73c3610d05b579bb5d9a0fbd522ce9f4f569761c
parentf6d13ecb05fe0bd7b03ebd5aeb211e882facddfd (diff)
downloadsyslinux-1eb1cb9dcf08889a02e9d9b7ecd5b9a6f5e258da.tar.gz
Fix pointers/block calculation
-rw-r--r--extlinux.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/extlinux.asm b/extlinux.asm
index 0849ebff..fffeb890 100644
--- a/extlinux.asm
+++ b/extlinux.asm
@@ -772,6 +772,7 @@ expand_super:
dec eax
mov [ClustMask],eax
+ add cl,SECTOR_SHIFT-2 ; 4 bytes/pointer
shl edx,cl
mov [PtrsPerBlock1],edx
shl edx,cl