mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
TSAGE: Fix problem with scrolling wide scenes.
This commit is contained in:
parent
07f1d33ef7
commit
45e61b985c
@ -602,7 +602,7 @@ void GfxSurface::copyFrom(GfxSurface &src, Rect srcBounds, Rect destBounds, Regi
|
||||
destBounds.bottom = destSurface.h;
|
||||
|
||||
if (destBounds.isValidRect() && !((destBounds.right < 0) || (destBounds.bottom < 0)
|
||||
|| (destBounds.left >= SCREEN_WIDTH) || (destBounds.top >= SCREEN_HEIGHT))) {
|
||||
|| (destBounds.left >= destSurface.w) || (destBounds.top >= destSurface.h))) {
|
||||
// Register the affected area as dirty
|
||||
addDirtyRect(destBounds);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user