Fix FileSysFAT.ZC code formatting.

This commit is contained in:
TomAwezome 2022-10-22 18:43:18 -04:00
parent a92ca05746
commit 876ea98c18

View file

@ -1045,8 +1045,7 @@ Bool FAT32MkDir(CDrive *drive, U8 *cur_dir, U8 *name, I64 entry_count)
{ {
I64 c, cur_dir_clus = Name2DirClus(drive, cur_dir), I64 c, cur_dir_clus = Name2DirClus(drive, cur_dir),
//Rough estimate of size //Rough estimate of size
size = CeilU64((entry_count + 2) << FAT32_ENTRIES_BITS, size = CeilU64((entry_count + 2) << FAT32_ENTRIES_BITS, drive->spc << BLK_SIZE_BITS);
drive->spc << BLK_SIZE_BITS);
U8 *buf = CAlloc(size); U8 *buf = CAlloc(size);
CDirEntry d_native; CDirEntry d_native;
CFAT32DirEntry *dFAT = buf; CFAT32DirEntry *dFAT = buf;