]> 4ch.mooo.com Git - 16.git/blobdiff - src/planrpcx.c
Merge remote-tracking branch 'upstream/master'
[16.git] / src / planrpcx.c
index e3e6c658c74ac945cbfacc6f55c09594767ebae2..9ed1096db65f89f936b6a3b9daf9ecbe11d2d380 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -86,7 +86,7 @@ baka = 1;
        }\r
        t1 = (*clockw-start) /18.2;\r
        for(i=0; i<100 ;i++) {\r
-               modexDrawBmpPBufRegion  (&gvar.video.page[0], p.width+32, 32, 0, 0, p.width, p.height, &p);\r
+               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);\r
        }\r
        t2 = (*clockw-start) /18.2;\r
        getch();\r
@@ -154,7 +154,7 @@ getch();
        free(bakapeee);\r
        fprintf(stderr, "modexDrawBmpPBufRegion:        %f\n", t2);\r
        fprintf(stderr, "modexDrawPBufRegion:   %f\n", t4);\r
-       fprintf(stderr, "speed difference       %f\n", t4/t2);\r
+       fprintf(stderr, "speed difference       %f\n", t2/t4);\r
        //fprintf(stderr, "gvar.video.page[0].width: %u\n", gvar.video.page[0].width);\r
        //fprintf(stderr, "gvar.video.page[0].height: %u\n", gvar.video.page[0].height);\r
 }\r