Skip to content

Commit

Permalink
Remove useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinbreiz committed Sep 9, 2023
1 parent aefe2a0 commit ea251ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Cosmos.System2/FileSystem/FAT/FatFileSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ internal void SetFatEntry(ulong aEntryNumber, ulong aValue)
ulong xEntryOffset = aEntryNumber * xEntrySize;

ulong xSector = xEntryOffset / mFileSystem.BytesPerSector;
int localOffset = (int)(xEntryOffset % mFileSystem.BytesPerSector); // Calculate the local offset within the sector
int localOffset = (int)(xEntryOffset % mFileSystem.BytesPerSector);

byte[] xData;
ReadFatSector(xSector, out xData);
Expand Down

0 comments on commit ea251ab

Please sign in to comment.