X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ftest2.c;h=8fa3a4e2b80997c019cdc186a3762e6fe16795be;hb=6340f73596b16d6b718e3ddca2b09f13ce521f6d;hp=e10597f8f09d49cb38c182ed13ce1af92bbd4f75;hpb=0f1f17dc05c1f9530651580fc5c23b121b8969ab;p=16.git diff --git a/src/test2.c b/src/test2.c index e10597f8..8fa3a4e2 100755 --- a/src/test2.c +++ b/src/test2.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. * @@ -56,17 +56,17 @@ void main() { /* create the planar buffer */ p = planar_buf_from_bitmap(&bmp); - /* print out the contents of each plane */ - for(plane=0; plane < 4; plane++) { - i=0; - printf("Plane %d\n", plane); - for(y=0; y < p->height; y++) { - for(x=0; x < p->pwidth; x++) { - printf("%02X ", (int) p->plane[plane][i++]); - } - printf("\n"); + /* print out the contents of each plane */ + for(plane=0; plane < 4; plane++) { + i=0; + printf("Plane %d\n", plane); + for(y=0; y < p->height; y++) { + for(x=0; x < p->pwidth; x++) { + printf("%02X ", (int) p->plane[plane][i++]); + } + printf("\n"); + } } - } /*__asm { mov ah,31h