aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-05 19:55:05 +0000
committerMartin Kiewitz2010-01-05 19:55:05 +0000
commit1712e223e2e520320a5ef4edfc8ad36cd82cc4a1 (patch)
tree219fb752a9a4d1494b7380ef5726967db114cd8e /engines/sci
parent7d126de793f476021d7d34e5eb3e25eff9398b05 (diff)
downloadscummvm-rg350-1712e223e2e520320a5ef4edfc8ad36cd82cc4a1.tar.gz
scummvm-rg350-1712e223e2e520320a5ef4edfc8ad36cd82cc4a1.tar.bz2
scummvm-rg350-1712e223e2e520320a5ef4edfc8ad36cd82cc4a1.zip
SCI: removed uint16 limit within view class (allows hires views)
svn-id: r47035
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/view.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp
index 04ac6e1bed..e6e8644723 100644
--- a/engines/sci/graphics/view.cpp
+++ b/engines/sci/graphics/view.cpp
@@ -363,8 +363,7 @@ byte *View::getBitmap(LoopNo loopNo, CelNo celNo) {
uint16 width = _loop[loopNo].cel[celNo].width;
uint16 height = _loop[loopNo].cel[celNo].height;
// allocating memory to store cel's bitmap
- assert(width * height <= 64000);
- uint16 pixelCount = width * height;
+ int pixelCount = width * height;
_loop[loopNo].cel[celNo].rawBitmap = new byte[pixelCount];
byte *pBitmap = _loop[loopNo].cel[celNo].rawBitmap;