From fe5e36729d93fe891686dfa3be5e5a5e28eb9fb4 Mon Sep 17 00:00:00 2001 From: lingeringwillx <111698406+lingeringwillx@users.noreply.github.com> Date: Wed, 10 Jan 2024 23:17:07 +0300 Subject: [PATCH] adjust header size check --- dbpf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbpf.h b/dbpf.h index 0c6dd25..95e3c75 100644 --- a/dbpf.h +++ b/dbpf.h @@ -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}; } @@ -575,4 +575,4 @@ namespace dbpf { } -#endif \ No newline at end of file +#endif