diff options
author | Vladimir Menshakov | 2011-06-11 16:15:06 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:10 +0200 |
commit | d70bc05b8e2afb87a9a0033119fd312073905485 (patch) | |
tree | 4721d44588cea60ccd4c5b7ba1186327def54ab9 | |
parent | c8be54bbd85c0d86452cdd1f3b614e12dd52c7f0 (diff) | |
download | scummvm-rg350-d70bc05b8e2afb87a9a0033119fd312073905485.tar.gz scummvm-rg350-d70bc05b8e2afb87a9a0033119fd312073905485.tar.bz2 scummvm-rg350-d70bc05b8e2afb87a9a0033119fd312073905485.zip |
DREAMWEB: added assertion
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 788f98f148..9445f7f432 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -689,6 +689,7 @@ endline: context.di = context.pop(); context.cx = context.pop(); + assert((uint16)context.cx <= 480); uint8 *dst = (uint8 *)s->getBasePtr(0, 480 - (uint16)context.cx); memset(dst, 0, 640); |