NTFS fix for sf 70.3 by Pathoswithin (non-tested) => Doczom please check if you can

git-svn-id: svn://kolibrios.org@9953 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2024-01-12 01:11:26 +00:00
parent 9562f01892
commit d91cb7946f

View File

@ -3479,6 +3479,15 @@ ntfs_WriteFile:
add eax, [ebx+12] add eax, [ebx+12]
adc edx, 0 adc edx, 0
mov [edi+fileRealSize], eax mov [edi+fileRealSize], eax
cmp edx, [edi+fileRealSize+4]
jc @f
jnz .resize
cmp [edi+fileRealSize], eax
jnc @f
.resize:
mov [edi+fileRealSize], eax
mov [edi+fileRealSize+4], edx
@@:
mov [edi+fileRealSize+4], edx mov [edi+fileRealSize+4], edx
push edx eax ebx push edx eax ebx
call ntfsGetTime call ntfsGetTime