Skip to content

Commit

Permalink
Update my_fat.c
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Oct 2, 2024
1 parent 6f8d43b commit f0745a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retail/common/source/my_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ bool resumeFileRead()
#else
if(!sectorsToRead) sectorsToRead = discSecPerClus - context.curSect;
#endif
else sectorsToRead = sectorsToRead - context.curSect;
else sectorsToRead -= context.curSect;

if(context.chunks < sectorsToRead) {
sectorsToRead = context.chunks;
Expand Down

0 comments on commit f0745a1

Please sign in to comment.