diff options
author | Benjamin Haisch | 2009-08-18 19:42:13 +0000 |
---|---|---|
committer | Benjamin Haisch | 2009-08-18 19:42:13 +0000 |
commit | 0762bb7cf6d81632a0fd9621104546fa9ae3da18 (patch) | |
tree | 222d911869bd8e292f0174532b5718ad1900b4e1 /engines/made/screen.cpp | |
parent | a35056b55531edcd384c3fa0dafc9a4ee6bfb6ee (diff) | |
download | scummvm-rg350-0762bb7cf6d81632a0fd9621104546fa9ae3da18.tar.gz scummvm-rg350-0762bb7cf6d81632a0fd9621104546fa9ae3da18.tar.bz2 scummvm-rg350-0762bb7cf6d81632a0fd9621104546fa9ae3da18.zip |
- PMV player: Use frame count from PVM file and fix incorrect "invalid chunk type" warning
- Fix sprite drawing glitch with vertically flipped sprites (bug #2825925)
svn-id: r43521
Diffstat (limited to 'engines/made/screen.cpp')
-rw-r--r-- | engines/made/screen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/made/screen.cpp b/engines/made/screen.cpp index d55b663296..7471743ba4 100644 --- a/engines/made/screen.cpp +++ b/engines/made/screen.cpp @@ -188,7 +188,7 @@ void Screen::drawSurface(Graphics::Surface *sourceSurface, int x, int y, int16 f if (flipX) { linePtrAdd = -1; - sourceAdd = sourceSurface->w; + sourceAdd = sourceSurface->w - 1; } else { linePtrAdd = 1; sourceAdd = 0; @@ -210,6 +210,7 @@ void Screen::drawSurface(Graphics::Surface *sourceSurface, int x, int y, int16 f } linePtr += linePtrAdd; } + source += sourcePitch; dest += clipInfo.destSurface->pitch; if (_vm->getGameID() != GID_RTZ) |