diff options
author | Strangerke | 2012-12-19 08:00:22 +0100 |
---|---|---|
committer | Strangerke | 2012-12-19 08:00:22 +0100 |
commit | 076546d41d1454c87317b5e53c2b322865331d92 (patch) | |
tree | 719f8f616267b0a795c5cca6e3cf8c91a822207e /engines/hopkins/files.cpp | |
parent | c1aafc9b47f21608c19a686f4eeab243cea036fe (diff) | |
download | scummvm-rg350-076546d41d1454c87317b5e53c2b322865331d92.tar.gz scummvm-rg350-076546d41d1454c87317b5e53c2b322865331d92.tar.bz2 scummvm-rg350-076546d41d1454c87317b5e53c2b322865331d92.zip |
HOPKINS: More renaming
Diffstat (limited to 'engines/hopkins/files.cpp')
-rw-r--r-- | engines/hopkins/files.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hopkins/files.cpp b/engines/hopkins/files.cpp index 3e840ed60e..8ab86bb180 100644 --- a/engines/hopkins/files.cpp +++ b/engines/hopkins/files.cpp @@ -251,8 +251,8 @@ byte *FileManager::searchCat(const Common::String &file, int a2) { 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); - _vm->_globals.CAT_TAILLE = READ_LE_UINT32(pData + 19); + _vm->_globals._catalogPos = READ_LE_UINT32(pData + 15); + _vm->_globals._catalogSize = READ_LE_UINT32(pData + 19); matchFlag = true; } @@ -271,13 +271,13 @@ byte *FileManager::searchCat(const Common::String &file, int a2) { if (!f.open(_vm->_globals.NFICHIER)) error("CHARGE_FICHIER"); - f.seek(_vm->_globals.CAT_POSI); + f.seek(_vm->_globals._catalogPos); - byte *catData = _vm->_globals.allocMemory(_vm->_globals.CAT_TAILLE); + byte *catData = _vm->_globals.allocMemory(_vm->_globals._catalogSize); if (catData == g_PTRNUL) error("CHARGE_FICHIER"); - readStream(f, catData, _vm->_globals.CAT_TAILLE); + readStream(f, catData, _vm->_globals._catalogSize); f.close(); result = catData; } else { |