diff options
author | Travis Howell | 2006-12-11 22:35:50 +0000 |
---|---|---|
committer | Travis Howell | 2006-12-11 22:35:50 +0000 |
commit | a4b835838d583cddc7e6682a3a3329a73a546668 (patch) | |
tree | b8c930b4b7cdcc8cd09f411d3632e6aafeeceb4a | |
parent | 1ba6947440a4e3f98d946ac2a784ea2a4adcc947 (diff) | |
download | scummvm-rg350-a4b835838d583cddc7e6682a3a3329a73a546668.tar.gz scummvm-rg350-a4b835838d583cddc7e6682a3a3329a73a546668.tar.bz2 scummvm-rg350-a4b835838d583cddc7e6682a3a3329a73a546668.zip |
Whitespace changes
svn-id: r24843
-rw-r--r-- | graphics/dxa_player.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/dxa_player.cpp b/graphics/dxa_player.cpp index b3df046432..59828340d9 100644 --- a/graphics/dxa_player.cpp +++ b/graphics/dxa_player.cpp @@ -98,8 +98,8 @@ bool DXAPlayer::loadFile(const char *filename) { else _framesPerSec = 10; - if (frameRate < 0) - _frameTicks = -frameRate / 100; + if (frameRate < 0) + _frameTicks = -frameRate / 100; else _frameTicks = frameRate; @@ -116,7 +116,7 @@ bool DXAPlayer::loadFile(const char *filename) { _scaleMode = S_NONE; _curHeight = _height; } - + debug(2, "flags 0x0%x framesCount %d width %d height %d rate %d ticks %d", flags, _framesCount, _width, _height, _framesPerSec, _frameTicks); _frameSize = _width * _height; @@ -212,7 +212,7 @@ void DXAPlayer::decode12(byte *data, int size, int totalSize) { static const struct { uint8 sh1, sh2; } shiftTbl[6] = { {0, 0}, {8, 0}, {8, 8}, {8, 4}, {4, 0}, {4, 4} }; - diffMap = ((*dat & 0xF0) << shiftTbl[type-10].sh1) | + diffMap = ((*dat & 0xF0) << shiftTbl[type-10].sh1) | ((*dat & 0x0F) << shiftTbl[type-10].sh2); dat++; } else { @@ -419,8 +419,8 @@ void DXAPlayer::decode13(uint8 *data, int size, int totalSize) { } subMask <<= 2; } - break; - } + break; + } case 32: case 33: case 34: { |