file extension needed?

This commit is contained in:
iceman1001 2023-11-01 07:57:45 +01:00
parent 9f439fde4e
commit 6423a0ec76

View file

@ -1011,7 +1011,7 @@ int loadFileNFC_safe(const char *preferredName, void *data, size_t maxdatalen, s
int retval = PM3_SUCCESS;
char *path;
int res = searchFile(&path, RESOURCES_SUBDIR, preferredName, "", false);
int res = searchFile(&path, RESOURCES_SUBDIR, preferredName, ".nfc", false);
if (res != PM3_SUCCESS) {
return PM3_EFILE;
}