diff options
| author | hpa <hpa> | 2004-12-16 08:13:13 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2004-12-16 08:13:13 +0000 |
| commit | 55a45c83e99e9692d2ea80db293ea7276ab654f0 (patch) | |
| tree | 83cb5d8e4f4759c7f546477453218b0fde33757c /ldlinux.asm | |
| parent | 2e4b88c52e9ca3dc9fa04a43d11fb370c47eec6d (diff) | |
| download | syslinux-55a45c83e99e9692d2ea80db293ea7276ab654f0.tar.gz | |
Correct finding the first sector
Diffstat (limited to 'ldlinux.asm')
| -rw-r--r-- | ldlinux.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldlinux.asm b/ldlinux.asm index d00f97b7..ef59f17e 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -1153,7 +1153,7 @@ searchdir: mov dx,[gs:si+20] ; High cluster word shl edx,16 mov dx,[gs:si+26] ; Low cluster word - add edx,2 + sub edx,2 shl edx,cl mov [bx],edx ; Starting sector |
