mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
Fix the "._" check
This commit is contained in:
parent
ef9ba1a5a5
commit
770137ceb0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user