diff options
author | Filippos Karapetis | 2009-03-02 22:16:44 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-03-02 22:16:44 +0000 |
commit | f31990f8978ec035c4e7c56601c3438a9a00c39b (patch) | |
tree | bfbc0fd8c9666d05ad51b03083df4b46ee93088a /engines/sci/scicore/decompress11.cpp | |
parent | 59e847dc2d2ee056f85ef7217ce63d48cd0f7235 (diff) | |
download | scummvm-rg350-f31990f8978ec035c4e7c56601c3438a9a00c39b.tar.gz scummvm-rg350-f31990f8978ec035c4e7c56601c3438a9a00c39b.tar.bz2 scummvm-rg350-f31990f8978ec035c4e7c56601c3438a9a00c39b.zip |
Gave decompression methods more descriptive names. Some cleanup
svn-id: r39082
Diffstat (limited to 'engines/sci/scicore/decompress11.cpp')
-rw-r--r-- | engines/sci/scicore/decompress11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/scicore/decompress11.cpp b/engines/sci/scicore/decompress11.cpp index d1b7cd1f73..637e7e3456 100644 --- a/engines/sci/scicore/decompress11.cpp +++ b/engines/sci/scicore/decompress11.cpp @@ -32,7 +32,7 @@ namespace Sci { -int decrypt4(uint8* dest, uint8* src, int length, int complength); +int unpackDCL(uint8* dest, uint8* src, int length, int complength); int decompress11(Resource *result, Common::ReadStream &stream, int sci_version) { uint16 compressedLength; @@ -110,7 +110,7 @@ int decompress11(Resource *result, Common::ReadStream &stream, int sci_version) case 18: case 19: case 20: - if (decrypt4(result->data, buffer, result->size, compressedLength)) { + if (unpackDCL(result->data, buffer, result->size, compressedLength)) { free(result->data); result->data = 0; // So that we know that it didn't work result->status = SCI_STATUS_NOMALLOC; |