From 770137ceb0d831a57dbf0ebb0abe5fcb921b24f9 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Tue, 24 Oct 2017 16:18:47 +0200 Subject: [PATCH] Fix the "._" check --- source/filesys/filetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/filesys/filetype.c b/source/filesys/filetype.c index df4c823..59010c2 100644 --- a/source/filesys/filetype.c +++ b/source/filesys/filetype.c @@ -21,7 +21,7 @@ u64 IdentifyFileType(const char* path) { // block crappy "._" files from getting recognized as filetype - if (strncmp(fname, "._", 2)) return 0; + if (strncmp(fname, "._", 2) == 0) return 0; if (ext) ext++; if (FileGetData(path, header, 0x200, 0) < min(0x200, fsize)) return 0;