mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
Fix large delay in library of The Dig regression.
Clipping in akos was made too strict. svn-id: r14145
This commit is contained in:
parent
06dc6a2c4e
commit
26a4a688cf
@ -815,7 +815,7 @@ byte AkosRenderer::codec5(int xmoveCur, int ymoveCur) {
|
||||
|
||||
clip.clip(maxw, maxh);
|
||||
|
||||
if (!clip.isValidRect())
|
||||
if ((clip.left >= clip.right) || (clip.top >= clip.bottom))
|
||||
return 0;
|
||||
|
||||
if (_draw_top > clip.top)
|
||||
@ -1020,7 +1020,7 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) {
|
||||
clip.bottom = maxh;
|
||||
}
|
||||
|
||||
if (!clip.isValidRect())
|
||||
if ((clip.left >= clip.right) || (clip.top >= clip.bottom))
|
||||
return 0;
|
||||
|
||||
if (_draw_top > clip.top)
|
||||
|
Loading…
x
Reference in New Issue
Block a user