]> 4ch.mooo.com Git - 16.git/commitdiff
fixed the issue with sw ==0 ^^
authorsparky4 <sparky4@cock.li>
Mon, 9 May 2016 06:09:15 +0000 (01:09 -0500)
committersparky4 <sparky4@cock.li>
Mon, 9 May 2016 06:09:15 +0000 (01:09 -0500)
pcx2vrl
pcxsscut
src/lib/modex16.c
src/test.c
vrl2vrs
vrsdump

diff --git a/pcx2vrl b/pcx2vrl
index 06179c758ee3353a54ef7bc76b2422c342d53dd7..3d9ac6e6d0e4fe19bb8f1962de5fd02253dea7be 100755 (executable)
Binary files a/pcx2vrl and b/pcx2vrl differ
index 2ce56d285d26ddb8a30e5f7bf2839df2bde1fa75..d743ac3b8ac58a73b3cb2380e2367aee9b167169 100755 (executable)
Binary files a/pcxsscut and b/pcxsscut differ
index 2d4c00242676ffd4401578c3fb6f024599199c21..5318f4e6f502d0bb1b3a5fbb4296507b9f550ea8 100755 (executable)
@@ -203,6 +203,8 @@ modexNextPage(page_t *p) {
     result.data = p->data + (p->pagesize);\r
     result.dx = 0;\r
     result.dy = 0;\r
+       result.sw = p->sw;\r
+       result.sh = p->sh;\r
     result.width = p->width;\r
     result.height = p->height;\r
        result.tw = p->tw;\r
@@ -224,6 +226,8 @@ modexNextPageFlexibleSize(page_t *p, word x, word y)
        result.data = p->data + (p->pagesize);  /* compute the offset */\r
        result.dx = 0;\r
        result.dy = 0;\r
+       result.sw = x;\r
+       result.sh = y;\r
        result.width = x;\r
        result.height = y;\r
        result.tw = result.sw/TILEWH;\r
index ab283fa614ba28b14452256706eecfc767a1541f..9f5762de1db8915c1d6f0423bae6f5d7507b7f82 100755 (executable)
@@ -104,7 +104,7 @@ void main(int argc, char *argv[])
        modexClearRegion(&gvar.video.page[0], 32, 32, gvar.video.page[0].sw-32, gvar.video.page[0].sh-32, 42);\r
        modexClearRegion(&gvar.video.page[0], 48, 48, gvar.video.page[0].sw-64, gvar.video.page[0].sh-64, 128);\r
        modexShowPage(&gvar.video.page[0]);\r
-       modexCopyPageRegion(&gvar.video.page[1], &gvar.video.page[0], 0, 0, 0, 0, gvar.video.page[0].width+32, gvar.video.page[0].height);\r
+       modexCopyPageRegion(&gvar.video.page[1], &gvar.video.page[0], 0, 0, 0, 0, gvar.video.page[0].width, gvar.video.page[0].height);\r
 \r
        /* fade in */\r
        modexFadeOn(1, pal2);\r
diff --git a/vrl2vrs b/vrl2vrs
index cee2d1d5ec2093825ded51e0e6c9b8b836e38ee9..acdd4bda2f0dd8772cdce97a19b6c906e4e09f8e 100755 (executable)
Binary files a/vrl2vrs and b/vrl2vrs differ
diff --git a/vrsdump b/vrsdump
index a75a903a84ae3d98973e3aecab4a6c08fce8a764..8ba0497deb819d75caeef21a3a0d4086b394845b 100755 (executable)
Binary files a/vrsdump and b/vrsdump differ