diff options
author | Max Horn | 2009-09-11 08:55:47 +0000 |
---|---|---|
committer | Max Horn | 2009-09-11 08:55:47 +0000 |
commit | 101150832582bba15d463ba27e60cb9f0d65a437 (patch) | |
tree | 48886f8c615ae558d29d18d331d688485fe62134 /engines | |
parent | 7cf23a2c4d20fe23133974e5a0595edd44fd49b4 (diff) | |
download | scummvm-rg350-101150832582bba15d463ba27e60cb9f0d65a437.tar.gz scummvm-rg350-101150832582bba15d463ba27e60cb9f0d65a437.tar.bz2 scummvm-rg350-101150832582bba15d463ba27e60cb9f0d65a437.zip |
Slightly modified version of Patch #2838562: Improve endian.h and stream.h
svn-id: r44027
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/animation.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp index 0d298bf96a..95a850cfe2 100644 --- a/engines/saga/animation.cpp +++ b/engines/saga/animation.cpp @@ -826,12 +826,10 @@ int Anim::fillFrameOffsets(AnimationData *anim, bool reallyFill) { int i; bool longData = isLongData(); - MemoryReadStreamEndian readS(anim->resourceData, anim->resourceLength, _vm->isBigEndian()); + MemoryReadStreamEndian readS(anim->resourceData, anim->resourceLength, !_vm->isBigEndian()); // RLE has inversion BE<>LE readS.seek(12); - readS._bigEndian = !_vm->isBigEndian(); // RLE has inversion BE<>LE - while (readS.pos() != readS.size()) { if (reallyFill) { anim->frameOffsets[currentFrame] = readS.pos(); |