fix bug in stage 2 search

main
pantonshire 1 year ago
parent cda3a448a9
commit f9e2135e3b

@ -172,7 +172,7 @@ bits 16
cmp word [bp - 0x16], 0 ; Load number of sectors loaded
je .load_first_lba
; If there's still more entries in the current sector, skip loading a new sector
mov ax, [bp - 0x18] ; Load current entry index within the current sector
mov ax, [bp - 0x14] ; Load current entry index within the current sector
cmp [bp - 0x10], ax ; Compare to entries per sector
ja .process_current_entry

Loading…
Cancel
Save