Skip to content

Commit

Permalink
reset bytesRead in FileData::Unload
Browse files Browse the repository at this point in the history
  • Loading branch information
StillGreen-san authored and RobLoach committed Feb 3, 2025
1 parent 0186631 commit e540159
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/FileData.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class FileData {
if (data != nullptr) {
::UnloadFileData(data);
data = nullptr;
bytesRead = 0;
}
}
private:
Expand Down

0 comments on commit e540159

Please sign in to comment.