From de8343eca5e37848b58e5e5b77b3d94ebbf929eb Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Fri, 22 Sep 2006 05:28:47 +0000 Subject: fix invalidate message --- xup/xup.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'xup') diff --git a/xup/xup.c b/xup/xup.c index 20716789..b0813d77 100644 --- a/xup/xup.c +++ b/xup/xup.c @@ -254,10 +254,14 @@ lib_mod_connect(struct mod* mod) s_push_layer(s, iso_hdr, 4); out_uint16_le(s, 103); out_uint32_le(s, 200); + /* x and y */ + i = 0; + out_uint32_le(s, i); + /* width and height */ + i = ((mod->width & 0xffff) << 16) | mod->height; + out_uint32_le(s, i); out_uint32_le(s, 0); out_uint32_le(s, 0); - out_uint32_le(s, mod->width); - out_uint32_le(s, mod->height); s_mark_end(s); len = s->end - s->data; s_pop_layer(s, iso_hdr); -- cgit v1.2.1