Skip to content

Commit

Permalink
Decrypt uncompressed files in HPI archives
Browse files Browse the repository at this point in the history
  • Loading branch information
MHeasell committed Jun 22, 2018
1 parent f1e5886 commit 4a9915c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rwe/Hpi.cpp
Expand Up @@ -305,7 +305,7 @@ namespace rwe
{
case HpiArchive::File::CompressionScheme::None:
stream->seekg(file.offset);
stream->read(buffer, file.size);
readAndDecrypt(*stream, decryptionKey, buffer, file.size);
break;
case HpiArchive::File::CompressionScheme::LZ77:
case HpiArchive::File::CompressionScheme::ZLib:
Expand Down

0 comments on commit 4a9915c

Please sign in to comment.