diff options
author | Exophase | 2012-01-01 23:07:31 +0200 |
---|---|---|
committer | notaz | 2012-01-01 23:07:31 +0200 |
commit | 87c45ad1e2a265cedb7970cc1b7777591d0050b7 (patch) | |
tree | b5085ecf9cf33cf4c022392ed321d9759d116f0f /plugins/gpu_neon/psx_gpu/psx_gpu_main.c | |
parent | 1c72b1c2337be47ef7be2254209cc61a6407fdbb (diff) | |
download | pcsx_rearmed-87c45ad1e2a265cedb7970cc1b7777591d0050b7.tar.gz pcsx_rearmed-87c45ad1e2a265cedb7970cc1b7777591d0050b7.tar.bz2 pcsx_rearmed-87c45ad1e2a265cedb7970cc1b7777591d0050b7.zip |
psx_gpu: improve fills
Diffstat (limited to 'plugins/gpu_neon/psx_gpu/psx_gpu_main.c')
-rw-r--r-- | plugins/gpu_neon/psx_gpu/psx_gpu_main.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu_main.c b/plugins/gpu_neon/psx_gpu/psx_gpu_main.c index f1f7944..6c17b0a 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" |