mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 23:18:44 +00:00
DREAMWEB: added assertion
This commit is contained in:
parent
c8be54bbd8
commit
d70bc05b8e
@ -689,6 +689,7 @@ endline:
|
|||||||
context.di = context.pop();
|
context.di = context.pop();
|
||||||
context.cx = context.pop();
|
context.cx = context.pop();
|
||||||
|
|
||||||
|
assert((uint16)context.cx <= 480);
|
||||||
uint8 *dst = (uint8 *)s->getBasePtr(0, 480 - (uint16)context.cx);
|
uint8 *dst = (uint8 *)s->getBasePtr(0, 480 - (uint16)context.cx);
|
||||||
memset(dst, 0, 640);
|
memset(dst, 0, 640);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user