use partition entry size constant
This commit is contained in:
@@ -109,7 +109,7 @@ main:
|
|||||||
mov al, byte [bx + PartEntry_t.attributes]
|
mov al, byte [bx + PartEntry_t.attributes]
|
||||||
test al, 0x80 ; 0x80 == 1000_0000b
|
test al, 0x80 ; 0x80 == 1000_0000b
|
||||||
jnz main.active_found
|
jnz main.active_found
|
||||||
add bx, 0x10 ; add 16 bytes to offset
|
add bx, PartEntry_t_size ; add 16 bytes to offset
|
||||||
loop main.find_active_L0
|
loop main.find_active_L0
|
||||||
|
|
||||||
ERROR MBR_ERROR_NO_NO_BOOT_PART
|
ERROR MBR_ERROR_NO_NO_BOOT_PART
|
||||||
|
|||||||
Reference in New Issue
Block a user