]> 4ch.mooo.com Git - 16.git/commitdiff
joncampbell what is going on? ^^
authorsparky4 <sparky4@cock.li>
Tue, 17 May 2016 18:21:11 +0000 (13:21 -0500)
committersparky4 <sparky4@cock.li>
Tue, 17 May 2016 18:21:11 +0000 (13:21 -0500)
src/lib/scroll16.c
src/scroll.c

index 9eae2942368c37d6cff6da8391ba9155094f1ca7..c78c8e6887c147fd18d7167049f288ab6d37aa5f 100755 (executable)
@@ -782,9 +782,8 @@ void shinku(global_game_variables_t *gv)
        }
        if(pageflipflop){
                modexCopyPageRegion(&(gv->video.page[(gv->video.p)]), &(gv->video.page[(!gv->video.p)]), 0, 0, 0, 0, gv->video.page[gv->video.p].width, gv->video.page[!gv->video.p].height);
-               //modexShowPage(&(gv->video.page[gv->video.p])); //this is slow as fack too!!
-               modexShowPage(&(gv->video.page[1])); //this is slow as fack too!!
-               //gv->video.p=!gv->video.p;
+               modexShowPage(&(gv->video.page[gv->video.p])); //this is slow as fack too!!
+               gv->video.p=!gv->video.p;
        }
 }
 
index 200011809a3564075bfd8322e76462c0ce164fda..688b91c80586b31b584dcb2371dd4b1e1a9171c1 100755 (executable)
@@ -313,7 +313,7 @@ void main(int argc, char *argv[])
        printf("tile resolution: %dx", gvar.video.page[0].tw);  printf("%d \n", gvar.video.page[0].th);
        printf("middle tile position: %dx", gvar.video.page[0].tilemidposscreenx);      printf("%d\n", gvar.video.page[0].tilemidposscreeny);
        modexprintmeminfo(&gvar.video);
-       printf("mv[%u].tx: %d", pan.pn, mv[pan.pn].tx); printf("        mv[%u].ty: %d   ", pan.pn, mv[pan.pn].ty); printf("panswitch=%u\n", panswitch);
+       printf("mv[%u].tx: %d", pan.pn, mv[pan.pn].tx); printf("        mv[%u].ty: %d   ", pan.pn, mv[pan.pn].ty); printf("gvar.video.p=%u\n", gvar.video.p);
        //printf("player[1].q: %d", player[1].q);       printf("        player[1].d: %d\n", player[1].d);
        printf("\n");
        //printf("map.width=%d  map.height=%d   map.data[0]=%d\n", mv[0].map->width, mv[0].map->height, mv[0].map->data[0]);