HOPKINS: Fix for filename case comparisons in LIBERE_FICHIER

This commit is contained in:
Paul Gilbert 2012-10-10 20:42:25 +11:00
parent 22204ecc66
commit 02df605f79

View File

@ -305,7 +305,7 @@ byte *FileManager::RECHERCHE_CAT(const Common::String &file, int a2) {
do {
Common::String name = (const char *)ptr + offsetVal;
if (name == file) {
if (name == filename) {
// Found entry for file, so get it's details from the catalogue entry
const byte *pData = ptr + offsetVal;
_vm->_globals.CAT_POSI = READ_LE_UINT32(pData + 15);