/kernel/branches/Kolibri-acpi/fs/fat.inc |
---|
154,6 → 154,9 |
xor eax, eax |
ret |
fat_create_partition: |
; sector size must be 512 |
cmp dword [esi+DISK.MediaInfo.SectorSize], 512 |
jnz .return0 |
; bootsector must have been successfully read |
cmp dword [esp+4], 0 |
jnz .return0 |