mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
MADS: Make resource file access case insensitive
This commit is contained in:
parent
3399516c5e
commit
8bfa5f1da2
@ -199,7 +199,7 @@ bool HagArchive::getHeaderEntry(const Common::String &resourceName,
|
||||
Common::List<HagEntry>::iterator ei;
|
||||
for (ei = hagIndex._entries.begin(); ei != hagIndex._entries.end(); ++ei) {
|
||||
hagEntry = *ei;
|
||||
if (hagEntry._resourceName == resName)
|
||||
if (hagEntry._resourceName.compareToIgnoreCase(resName) == 0)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user