diff options
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; } } |