diff options
Diffstat (limited to 'engines/cruise/volume.cpp')
-rw-r--r-- | engines/cruise/volume.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/cruise/volume.cpp b/engines/cruise/volume.cpp index be8c0e926e..e4a00945e9 100644 --- a/engines/cruise/volume.cpp +++ b/engines/cruise/volume.cpp @@ -426,13 +426,10 @@ int16 readVolCnf(void) { (char *)mallocAndZero(buffer[j].unk2 + 500); - decomp((uint8 *) bufferLocal + buffer[j].size - - 4, - (uint8 *) uncompBuffer + buffer[j].unk2 + - 500, buffer[j].unk2); + delphineUnpack((uint8 *) uncompBuffer, (const uint8 *) bufferLocal, buffer[j].size); FILE *fOut = fopen(nameBuffer, "wb+"); - fwrite(uncompBuffer + 500, buffer[j].unk2, 1, + fwrite(uncompBuffer, buffer[j].unk2, 1, fOut); fclose(fOut); |