diff options
author | Eugene Sandulenko | 2008-05-31 22:41:31 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-05-31 22:41:31 +0000 |
commit | 4b4ebbd45d2c972ee179a9cb9e7fe9678bdaa038 (patch) | |
tree | 5849703ed413986c50c90ed8d19e2b19622e7805 /engines | |
parent | a47106e77d9c0b2b52190cfa3efacf6a24c7ae14 (diff) | |
download | scummvm-rg350-4b4ebbd45d2c972ee179a9cb9e7fe9678bdaa038.tar.gz scummvm-rg350-4b4ebbd45d2c972ee179a9cb9e7fe9678bdaa038.tar.bz2 scummvm-rg350-4b4ebbd45d2c972ee179a9cb9e7fe9678bdaa038.zip |
Endianness fixes in FLI player
svn-id: r32444
Diffstat (limited to 'engines')
-rw-r--r-- | engines/drascula/drascula.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index aa4bd6ded5..54ef064116 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -2709,7 +2709,7 @@ void DrasculaEngine::openSSN(const char *Name, int Pause) { int DrasculaEngine::playFrameSSN() { int Exit = 0; - int Lengt; + uint32 Lengt; byte *BufferSSN; if (!UsingMem) @@ -2734,12 +2734,12 @@ int DrasculaEngine::playFrameSSN() { break; case kFrameInit: if (!UsingMem) { - _Session->read(&CMP, 1); - _Session->read(&Lengt, 4); + CMP = _Session->readByte(); + Lengt = _Session->readUint32LE(); } else { memcpy(&CMP, mSession, 1); mSession += 1; - memcpy(&Lengt, mSession, 4); + Lengt = READ_LE_UINT32(mSession); mSession += 4; } if (CMP == kFrameCmpRle) { |