diff options
author | lukaslw | 2014-10-09 21:05:55 +0200 |
---|---|---|
committer | lukaslw | 2014-10-09 21:05:55 +0200 |
commit | c769c3b8855820122e6a7a6712cb7139445d8a0b (patch) | |
tree | 8c06456e6dfaf01c90537944998b9f5088e0fafd /engines | |
parent | c9c93b4b4dd20c094da57729a96abb0b978de40f (diff) | |
download | scummvm-rg350-c769c3b8855820122e6a7a6712cb7139445d8a0b.tar.gz scummvm-rg350-c769c3b8855820122e6a7a6712cb7139445d8a0b.tar.bz2 scummvm-rg350-c769c3b8855820122e6a7a6712cb7139445d8a0b.zip |
PRINCE: Add MKTAG - BLAH in decrypt function
Diffstat (limited to 'engines')
-rw-r--r-- | engines/prince/archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/archive.cpp b/engines/prince/archive.cpp index bc5d5d3818..ae6a2b7546 100644 --- a/engines/prince/archive.cpp +++ b/engines/prince/archive.cpp @@ -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); } } |