Prevent accidentally opening BNCMP

This commit is contained in:
Garhoogin 2025-04-29 23:38:08 -05:00 committed by GitHub
parent 28e46e7db3
commit e08f63806b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -375,6 +375,7 @@ int ObjIdentify(char *file, int size, LPCWSTR path) {
//test other formats
if (NftrIdentify(buffer, bufferSize)) type = FILE_TYPE_FONT;
else if (BncmpIdentify(buffer, bufferSize)) type = FILE_TYPE_CMAP;
else if (TexarcIsValidBmd(buffer, bufferSize)) type = FILE_TYPE_NSBTX;
else if (combo2dIsValid(buffer, bufferSize)) type = FILE_TYPE_COMBO2D;
else if (ChrIsValidIcg(buffer, bufferSize)) type = FILE_TYPE_CHAR;