fat vbr: fix incorrect addition of partition offset

This commit is contained in:
Nero 2020-10-25 14:22:53 +00:00
parent 50aa6e4eec
commit c06c6ac918
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ offset_fat: ; add reserved sectors
adc dx, 0
offset_part: ; add partition offset
add ax, [bp+BPBHS]
add dx, [bp+BPBHS]
add dx, [bp+BPBHS+2]
ret
resetbuf: ; DS = ES