patch bootloader/main.s: wrong offset for size in-memory of segment

This commit is contained in:
notsomeidiot123 2024-10-24 13:13:41 -04:00
parent 44eea34051
commit c200d7a4e1
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ load_elf:
mov esi, [ebx + 8]
mov edi, [ebx + 4]
add edi, [ebp - 8]
mov ecx, [ebx + 24]
mov ecx, [ebx + 20]
cmp ecx, 0
je .map_next
xor edx, edx