aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-09-01 15:01:40 +0000
committerPaweł Kołodziejski2002-09-01 15:01:40 +0000
commitdaa997fab248b92c81f9299ae0fcc857f69ca754 (patch)
tree98bc55cd8aaa109cc7c438017f4692d1fa0b52d9 /scumm/akos.cpp
parenta2ab750f88fbbd34decdcbae50a9454075ccdcb0 (diff)
downloadscummvm-rg350-daa997fab248b92c81f9299ae0fcc857f69ca754.tar.gz
scummvm-rg350-daa997fab248b92c81f9299ae0fcc857f69ca754.tar.bz2
scummvm-rg350-daa997fab248b92c81f9299ae0fcc857f69ca754.zip
fixes to resolutions
svn-id: r4893
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index 78eabfeb14..a7c18871d5 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -355,7 +355,7 @@ void akos_generic_decode(AkosRenderer * ar)
if (ar->v1.scaletable[ar->v1.tmp_x] < ar->scale_x) {
ar->v1.x += ar->v1.scaleXstep;
- if ((uint) ar->v1.x >= 320)
+ if ((uint) ar->v1.x >= g_scumm->_realWidth)
return;
maskbit = revBitMask[ar->v1.x & 7];
ar->v1.destptr += ar->v1.scaleXstep;
@@ -423,7 +423,7 @@ void akos_c1_spec1(AkosRenderer * ar)
if (ar->v1.scaletable[ar->v1.tmp_x] < ar->scale_x) {
ar->v1.x += ar->v1.scaleXstep;
- if ((uint) ar->v1.x >= 320)
+ if ((uint) ar->v1.x >= g_scumm->_realWidth)
return;
maskbit = revBitMask[ar->v1.x & 7];
ar->v1.destptr += ar->v1.scaleXstep;