mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 03:24:50 +00:00
PEGASUS: Fix copyToCurrentPort()
This commit is contained in:
parent
fec7a123fd
commit
e21224ff9a
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user