From 265bb3e414d134d2a274f768dd901988a7fcff42 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 17 Apr 2016 15:55:33 -0500 Subject: [PATCH] scroll.c is hard ww --- src/lib/scroll16.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 506beeb9..e71079a2 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -489,7 +489,8 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) //cannot print number value du to it being slow as bakapee #else PBUFBFUN (page, x, y, rx, ry, t->tileWidth, t->tileHeight, (t->data)); - //draw_vrl1_vgax_modex(x,y,struct vrl1_vgax_header *hdr,vrl1_vgax_offset_t *lineoffs,unsigned char *data,unsigned int datasz); + /* then the sprite. note modding ram ptr means we just draw to (x&3,0) */ + //draw_vrl1_vgax_modex(x-rx,y-ry,vrl_header,vrl_lineoffs,buffer+sizeof(*vrl_header),bufsz-sizeof(*vrl_header)); //modexDrawBmpRegion (page, x, y, rx, ry, t->tileWidth, t->tileHeight, (t->data)); #endif break; -- 2.39.5