Fix directory entry pointer getting offset if EttinOS kernel was found

This commit is contained in:
Juhani Krekelä 2021-07-04 21:05:19 +03:00
parent 1c61708c85
commit 95d6cf1c4e
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,8 @@ search_root:
mov ax, [si - 11 + 26] ; First cluster
mov [ettinos_kernel_cluster], ax
inc cx ; Offset so that falling through will work
.nextentry:
; Each entry is 32 bytes long
; During each iteration of the compare loop, si is