Skip to content

Commit

Permalink
PRINCE: Add MKTAG - BLAH in decrypt function
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaslw committed Oct 9, 2014
1 parent c9c93b4 commit c769c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/prince/archive.cpp
Expand Up @@ -41,7 +41,7 @@ static void decrypt(byte *buffer, uint32 size) {
while (size--) {
*buffer++ += key & 0xFF;
key ^= 0x2E84299A;
key += 0x424C4148;
key += MKTAG('B', 'L', 'A', 'H');
key = ((key & 1) << 31) | (key >> 1);
}
}
Expand Down

0 comments on commit c769c3b

Please sign in to comment.