Skip to content

Commit

Permalink
adjust header size check
Browse files Browse the repository at this point in the history
  • Loading branch information
lingeringwillx authored Jan 10, 2024
1 parent 8c9c0a4 commit fe5e367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ namespace dbpf {
file.seekg(0);
uint fileSize = getFileSize(file);

if(fileSize < 64) {
if(fileSize < 96) {
wcout << displayPath << L": Header not found" << endl;
return Package{false};
}
Expand Down Expand Up @@ -575,4 +575,4 @@ namespace dbpf {

}

#endif
#endif

0 comments on commit fe5e367

Please sign in to comment.