X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fplanrpcx.c;h=9ed1096db65f89f936b6a3b9daf9ecbe11d2d380;hb=cd8ca9c97893c9cf1cb1eae62d06c66305ac9f78;hp=e3e6c658c74ac945cbfacc6f55c09594767ebae2;hpb=1eb98f11e608736e9884db079e609812ad96f902;p=16.git diff --git a/src/planrpcx.c b/src/planrpcx.c index e3e6c658..9ed1096d 100755 --- a/src/planrpcx.c +++ b/src/planrpcx.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 * * This file is part of Project 16. * @@ -86,7 +86,7 @@ baka = 1; } t1 = (*clockw-start) /18.2; for(i=0; i<100 ;i++) { - modexDrawBmpPBufRegion (&gvar.video.page[0], p.width+32, 32, 0, 0, p.width, p.height, &p); + modexDrawBmpPBufRegion (&gvar.video.page[0], p.width+32, 32, p.width-(p.width/4), p.height-(p.height/4), p.width/4, p.height/4, &p); } t2 = (*clockw-start) /18.2; getch(); @@ -154,7 +154,7 @@ getch(); free(bakapeee); fprintf(stderr, "modexDrawBmpPBufRegion: %f\n", t2); fprintf(stderr, "modexDrawPBufRegion: %f\n", t4); - fprintf(stderr, "speed difference %f\n", t4/t2); + fprintf(stderr, "speed difference %f\n", t2/t4); //fprintf(stderr, "gvar.video.page[0].width: %u\n", gvar.video.page[0].width); //fprintf(stderr, "gvar.video.page[0].height: %u\n", gvar.video.page[0].height); }