Skip to content

Commit

Permalink
mbr/isohdpfx.S: correct pointer for heads/sectors
Browse files Browse the repository at this point in the history
sectors is pushed first then heads but pointers were in reverse order.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  • Loading branch information
Martin Str|mberg authored and geneC committed Mar 25, 2017
1 parent 346d227 commit 48e94f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbr/isohdpfx.S
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ isolinux_start_hybrid = 0x7c00+64+4
stack = 0x7c00
partoffset = (stack-8)
driveno = (stack-14)
heads = (stack-16)
sectors = (stack-18)
sectors = (stack-16)
heads = (stack-18)
ebios_flag = (stack-20)
secpercyl = (stack-24)

Expand Down

0 comments on commit 48e94f4

Please sign in to comment.