notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libretro: try to handle physical cdrom ejection
[pcsx_rearmed.git]
/
plugins
/
gpulib
/
test.c
diff --git
a/plugins/gpulib/test.c
b/plugins/gpulib/test.c
index
e523e20
..
3f24cc4
100644
(file)
--- a/
plugins/gpulib/test.c
+++ b/
plugins/gpulib/test.c
@@
-62,7
+62,7
@@
int main(int argc, char *argv[])
{
unsigned int start_cycles;
uint32_t *list;
{
unsigned int start_cycles;
uint32_t *list;
- int size;
+ int size
, dummy
;
FILE *state_file;
FILE *list_file;
FILE *out_file;
FILE *state_file;
FILE *list_file;
FILE *out_file;
@@
-88,13
+88,13
@@
int main(int argc, char *argv[])
pcnt_init();
renderer_init();
pcnt_init();
renderer_init();
- memcpy(gpu.vram, state.vram,
sizeof(gpu.vram)
);
+ memcpy(gpu.vram, state.vram,
1024*512*2
);
if ((state.gpu_register[8] & 0x24) == 0x24)
renderer_set_interlace(1, !(state.status >> 31));
start_cycles = pcnt_get();
if ((state.gpu_register[8] & 0x24) == 0x24)
renderer_set_interlace(1, !(state.status >> 31));
start_cycles = pcnt_get();
- do_cmd_list(list, size / 4);
+ do_cmd_list(list, size / 4
, &dummy, &dummy
);
renderer_flush_queues();
printf("%u\n", pcnt_get() - start_cycles);
renderer_flush_queues();
printf("%u\n", pcnt_get() - start_cycles);