use NASM defined size value from structure macro

This commit is contained in:
2024-10-12 12:58:32 -04:00
parent baa146bef5
commit 12fc8a1e37

View File

@@ -28,7 +28,7 @@ ALIGN 4, db 0x90
InitFATDriver:
__CDECL16_ENTRY
.func:
mov ax, fat32_state_SIZE
mov ax, FAT32_State_t_size
push ax ; length of fat32_state structure
xor ax, ax
push ax ; init fat32_state with zero