diff options
author | Filippos Karapetis | 2008-04-20 17:15:31 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-04-20 17:15:31 +0000 |
commit | ad6f9caf5186eb9ad860b1b31c5b1b2806b978ab (patch) | |
tree | 25558d67974471053906c89e9c0daac969b12742 /engines | |
parent | 87becbc22fb8bfa52e379cece1732525ad9be25a (diff) | |
download | scummvm-rg350-ad6f9caf5186eb9ad860b1b31c5b1b2806b978ab.tar.gz scummvm-rg350-ad6f9caf5186eb9ad860b1b31c5b1b2806b978ab.tar.bz2 scummvm-rg350-ad6f9caf5186eb9ad860b1b31c5b1b2806b978ab.zip |
Compilation fixes by lordhoto
svn-id: r31619
Diffstat (limited to 'engines')
-rw-r--r-- | engines/made/pmvplayer.cpp | 2 | ||||
-rw-r--r-- | engines/made/resource.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/made/pmvplayer.cpp b/engines/made/pmvplayer.cpp index 0c31c90ae7..f1e692973f 100644 --- a/engines/made/pmvplayer.cpp +++ b/engines/made/pmvplayer.cpp @@ -61,7 +61,7 @@ void PmvPlayer::play(const char *filename) { _fd->read(frameData, chunkSize); byte *audioData = frameData + READ_LE_UINT32(frameData + 8) - 8; - uint16 chunkSize = READ_LE_UINT16(audioData + 4); + chunkSize = READ_LE_UINT16(audioData + 4); uint16 chunkCount = READ_LE_UINT16(audioData + 6); if (chunkCount > 50) break; // FIXME: this is a hack diff --git a/engines/made/resource.cpp b/engines/made/resource.cpp index ebfc9a53da..b7c185280c 100644 --- a/engines/made/resource.cpp +++ b/engines/made/resource.cpp @@ -60,7 +60,7 @@ void PictureResource::load(byte *source, int size) { uint16 pixelOffs = sourceS->readUint16LE(); uint16 maskOffs = sourceS->readUint16LE(); uint16 lineSize = sourceS->readUint16LE(); - uint16 u = sourceS->readUint16LE(); + /*uint16 u = */sourceS->readUint16LE(); uint16 width = sourceS->readUint16LE(); uint16 height = sourceS->readUint16LE(); |