From 1a67e2731f883c23737a469b8a2404cc4060267f Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 17 May 2016 13:21:11 -0500 Subject: [PATCH] joncampbell what is going on? ^^ --- src/lib/scroll16.c | 5 ++--- src/scroll.c | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 9eae2942..c78c8e68 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -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; } } diff --git a/src/scroll.c b/src/scroll.c index 20001180..688b91c8 100755 --- a/src/scroll.c +++ b/src/scroll.c @@ -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]); -- 2.39.5