Skip to content

Commit

Permalink
PEGASUS: Fix copyToCurrentPort()
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Sep 20, 2011
1 parent fec7a12 commit e21224f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/pegasus/surface.cpp
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit e21224f

Please sign in to comment.