DREAMWEB: added assertion

This commit is contained in:
Vladimir Menshakov 2011-06-11 16:15:06 +04:00 committed by Alyssa Milburn
parent c8be54bbd8
commit d70bc05b8e

View File

@ -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);