diff options
Diffstat (limited to 'engines/macventure/image.cpp')
-rw-r--r-- | engines/macventure/image.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/macventure/image.cpp b/engines/macventure/image.cpp index 812e2e3dad..1b0e59d565 100644 --- a/engines/macventure/image.cpp +++ b/engines/macventure/image.cpp @@ -122,8 +122,7 @@ void ImageAsset::decodePPIC(ObjID id, Common::Array<byte> &data, uint &bitHeight data.push_back(0); } - switch (mode) - { + switch (mode) { case MacVenture::kPPIC0: decodePPIC0(stream, data, bitHeight, bitWidth, rowBytes); break; @@ -279,8 +278,7 @@ void ImageAsset::decodeHuffGraphic(const PPICHuff & huff, Common::BitStream & st for (uint y = 0; y < bitHeight; y++) { uint16 v = 0; if (flags & 2) { - for (uint x = 0; x < rowBytes; x++) - { + for (uint x = 0; x < rowBytes; x++) { data[pos] ^= v; v = data[pos]; pos++; |