]> 4ch.mooo.com Git - 16.git/commitdiff
more
authorJonathan Campbell <jonathan@castus.tv>
Mon, 9 May 2016 02:37:53 +0000 (19:37 -0700)
committerJonathan Campbell <jonathan@castus.tv>
Mon, 9 May 2016 02:37:53 +0000 (19:37 -0700)
src/test.c

index ce05994363d82a2424234fd9edc4b9539d14b856..ab283fa614ba28b14452256706eecfc767a1541f 100755 (executable)
@@ -91,8 +91,8 @@ void main(int argc, char *argv[])
                mv[i].tx        = 0;\r
                mv[i].ty        = 0;\r
        }\r
-//     gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);\r
-//     gvar.video.page[1] = modexNextPage(&gvar.video.page[0]);\r
+       gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);\r
+       gvar.video.page[1] = modexNextPage(&gvar.video.page[0]);\r
 //     gvar.video.page[0].width += 32;\r
 //     gvar.video.page[0].height += 32;\r
 \r
@@ -182,7 +182,8 @@ void main(int argc, char *argv[])
                printf("        [%u]=", i);\r
                printf("(%Fp)", (gvar.video.page[i].data));\r
                printf(" size=%ld", gvar.video.page[i].pagesize);\r
-               printf(" sw=%lu  sh=%lu\n", (unsigned long)gvar.video.page[i].sw, (unsigned long)gvar.video.page[i].sh);\r
+               printf(" sw=%lu  sh=%lu ", (unsigned long)gvar.video.page[i].sw, (unsigned long)gvar.video.page[i].sh);\r
+               printf(" width=%lu  height=%lu", (unsigned long)gvar.video.page[i].width, (unsigned long)gvar.video.page[i].height);\r
                printf("\n");\r
        }\r
        printf("tx=%d   ", mv[pan.pn].tx); printf("ty=%d        ", mv[pan.pn].ty); printf("player.d=%d\n", player[0].d);\r