aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/psx_gpu/psx_gpu_main.c
diff options
context:
space:
mode:
authornotaz2011-12-20 23:19:52 +0200
committernotaz2011-12-21 22:42:27 +0200
commit2bbbb7af9194079f8862b4e9ed2bb762f876e9c1 (patch)
tree7d21dd084310ac76e1a5c831473300e9e20c2855 /plugins/gpu_neon/psx_gpu/psx_gpu_main.c
parente8c0e0bb6288aeeb2a4cb6709608340836778886 (diff)
downloadpcsx_rearmed-2bbbb7af9194079f8862b4e9ed2bb762f876e9c1.tar.gz
pcsx_rearmed-2bbbb7af9194079f8862b4e9ed2bb762f876e9c1.tar.bz2
pcsx_rearmed-2bbbb7af9194079f8862b4e9ed2bb762f876e9c1.zip
gpu_neon/psx_gpu: rename a define
Diffstat (limited to 'plugins/gpu_neon/psx_gpu/psx_gpu_main.c')
-rw-r--r--plugins/gpu_neon/psx_gpu/psx_gpu_main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu_main.c b/plugins/gpu_neon/psx_gpu/psx_gpu_main.c
index d610e8e..1eadc79 100644
--- a/plugins/gpu_neon/psx_gpu/psx_gpu_main.c
+++ b/plugins/gpu_neon/psx_gpu/psx_gpu_main.c
@@ -125,7 +125,7 @@ void update_screen(psx_gpu_struct *psx_gpu, SDL_Surface *screen)
SDL_Flip(screen);
}
-#ifdef PANDORA_BUILD
+#ifdef NEON_BUILD
#include <fcntl.h>
#include <linux/fb.h>
@@ -178,7 +178,7 @@ int main(int argc, char *argv[])
initialize_psx_gpu(psx_gpu, _vram);
-#ifdef PANDORA_BUILD
+#ifdef NEON_BUILD
system("ofbset -fb /dev/fb1 -mem 6291456 -en 0");
u32 fbdev_handle = open("/dev/fb1", O_RDWR);
psx_gpu->vram_ptr = (mmap((void *)0x50000000, 1024 * 1024 * 2, PROT_READ | PROT_WRITE,
@@ -188,7 +188,7 @@ int main(int argc, char *argv[])
-#ifdef PANDORA_BUILD
+#ifdef NEON_BUILD
//triangle_benchmark(psx_gpu);
//return 0;
#endif
@@ -216,7 +216,7 @@ int main(int argc, char *argv[])
clear_stats();
-#ifdef PANDORA_BUILD
+#ifdef NEON_BUILD
init_counter();
#endif
@@ -225,7 +225,7 @@ int main(int argc, char *argv[])
clear_stats();
-#ifdef PANDORA_BUILD
+#ifdef NEON_BUILD
u32 cycles = get_counter();
#endif
@@ -233,7 +233,7 @@ int main(int argc, char *argv[])
flush_render_block_buffer(psx_gpu);
printf("%s: ", argv[1]);
-#ifdef PANDORA_BUILD
+#ifdef NEON_BUILD
u32 cycles_elapsed = get_counter() - cycles;
printf("%d\n", cycles_elapsed);