X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fpsx_gpu%2Fpsx_gpu_main.c;h=6c17b0ababd0518bdeb0077ef755a7cd3ff9dd3b;hp=8624ff0babd5a02cc9cd4d9647cb09184d3cbf79;hb=b78edec75aea5e9015e11dd71f7736d7e92b347b;hpb=4be044baf017d654481aee4301325320c4c1c31c diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu_main.c b/plugins/gpu_neon/psx_gpu/psx_gpu_main.c index 8624ff0b..6c17b0ab 100644 --- a/plugins/gpu_neon/psx_gpu/psx_gpu_main.c +++ b/plugins/gpu_neon/psx_gpu/psx_gpu_main.c @@ -174,7 +174,7 @@ int main(int argc, char *argv[]) MAP_SHARED | 0xA0000000, fbdev_handle, 0)); vram_ptr += 64; - initialize_psx_gpu(psx_gpu, vram_ptr + 64); + initialize_psx_gpu(psx_gpu, vram_ptr); #else initialize_psx_gpu(psx_gpu, _vram + 64); #endif @@ -204,14 +204,15 @@ int main(int argc, char *argv[]) gpu_parse(psx_gpu, list, size); flush_render_block_buffer(psx_gpu); - printf("%-64s: ", argv[1]); #ifdef NEON_BUILD u32 cycles_elapsed = get_counter() - cycles; - printf("%d\n", cycles_elapsed); + printf("%-64s: %d\n", argv[1], cycles_elapsed); +#else + printf("%-64s: ", argv[1]); #endif -#if 0 +#if 1 u32 i; for(i = 0; i < 1024 * 512; i++) @@ -238,7 +239,7 @@ int main(int argc, char *argv[]) } #endif -#if 1 +#if 0 printf("\n"); printf(" %d pixels, %d pixel blocks, %d spans\n" " (%lf pixels per block, %lf pixels per span),\n" @@ -294,6 +295,7 @@ int main(int argc, char *argv[]) percent_of(sprites_8bpp, sprites), percent_of(sprites_16bpp, sprites), percent_of(sprites_untextured, sprites)); } + printf(" %d lines\n", lines); printf("\n"); printf(" %d mismatches\n\n\n", mismatches); #endif