diff options
author | Matthew Hoops | 2011-09-20 13:04:04 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-09-20 13:04:04 -0400 |
commit | e21224ff9a590144f2afee292ac342bc9769e2eb (patch) | |
tree | 4270649bb23b9c557f299f94941d5b8b5c3ccaf6 /engines | |
parent | fec7a123fd34bd167528b49ddb46a3123f31c416 (diff) | |
download | scummvm-rg350-e21224ff9a590144f2afee292ac342bc9769e2eb.tar.gz scummvm-rg350-e21224ff9a590144f2afee292ac342bc9769e2eb.tar.bz2 scummvm-rg350-e21224ff9a590144f2afee292ac342bc9769e2eb.zip |
PEGASUS: Fix copyToCurrentPort()
Diffstat (limited to 'engines')
-rwxr-xr-x | engines/pegasus/surface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pegasus/surface.cpp b/engines/pegasus/surface.cpp index 32a8aa0df6..7da5cd1124 100755 --- a/engines/pegasus/surface.cpp +++ b/engines/pegasus/surface.cpp @@ -156,8 +156,8 @@ void Surface::copyToCurrentPort(const Common::Rect &srcRect, const Common::Rect for (int y = 0; y < srcRect.height(); y++) { memcpy(dst, src, lineSize); - src += _surface->pitch - lineSize; - dst += screen->pitch - lineSize; + src += _surface->pitch; + dst += screen->pitch; } } |