mirror of
https://github.com/libretro/FBNeo.git
synced 2025-02-21 10:20:39 +00:00
un7z.cpp: fix case insensitivity
fix for https://github.com/libretro/FBNeo/issues/699
This commit is contained in:
parent
34c0ff5529
commit
15b9393f9d
@ -262,7 +262,7 @@ int _7z_search_crc_match(_7z_file *new_7z, UINT32 search_crc, const char* search
|
||||
// MAME filenames are always lowercase so be case insensitive
|
||||
if ((zn>=0x41) && (zn<=0x5a)) zn+=0x20;
|
||||
|
||||
if (sn != zn) break;
|
||||
if (sn != zn && tolower(sn) != zn) break;
|
||||
}
|
||||
if (j==search_filename_length) namematch = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user