diff options
author | Paul Gilbert | 2014-03-21 22:47:31 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-21 22:47:31 -0400 |
commit | 2090987b81615af4cda189a462bc04cd22d7a180 (patch) | |
tree | 3a0bd163ae80953701f7f9e6e5a9d83f1ff5ce76 /engines/mads/msurface.cpp | |
parent | de09300fdd2194cd78054175b5d4e5231482ab1d (diff) | |
download | scummvm-rg350-2090987b81615af4cda189a462bc04cd22d7a180.tar.gz scummvm-rg350-2090987b81615af4cda189a462bc04cd22d7a180.tar.bz2 scummvm-rg350-2090987b81615af4cda189a462bc04cd22d7a180.zip |
MADS: Fixes for handling horizontally flipped frames
Diffstat (limited to 'engines/mads/msurface.cpp')
-rw-r--r-- | engines/mads/msurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/msurface.cpp b/engines/mads/msurface.cpp index 3ce5bdacd3..8f40173f13 100644 --- a/engines/mads/msurface.cpp +++ b/engines/mads/msurface.cpp @@ -498,7 +498,7 @@ MSurface *MSurface::flipHorizontal() const { for (int y = 0; y < this->h; ++y) { const byte *srcP = getBasePtr(this->w - 1, y); - byte *destP = dest->getData(); + byte *destP = dest->getBasePtr(0, y); for (int x = 0; x < this->w; ++x) *destP++ = *srcP--; |