mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-29 21:24:53 +00:00
DREAMWEB: added assertion
This commit is contained in:
parent
c8be54bbd8
commit
d70bc05b8e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user