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
cdrom: handle fifo overreads
[pcsx_rearmed.git]
/
plugins
/
gpulib
/
gpu.c
diff --git
a/plugins/gpulib/gpu.c
b/plugins/gpulib/gpu.c
index
d729091
..
797431c
100644
(file)
--- a/
plugins/gpulib/gpu.c
+++ b/
plugins/gpulib/gpu.c
@@
-54,6
+54,7
@@
static noinline void do_cmd_reset(void)
static noinline void do_reset(void)
{
unsigned int i;
static noinline void do_reset(void)
{
unsigned int i;
+
do_cmd_reset();
memset(gpu.regs, 0, sizeof(gpu.regs));
do_cmd_reset();
memset(gpu.regs, 0, sizeof(gpu.regs));
@@
-136,14
+137,13
@@
static noinline void get_gpu_info(uint32_t data)
gpu.gp0 = gpu.ex_regs[data & 7] & 0xfffff;
break;
case 0x05:
gpu.gp0 = gpu.ex_regs[data & 7] & 0xfffff;
break;
case 0x05:
- case 0x06:
gpu.gp0 = gpu.ex_regs[5] & 0x3fffff;
break;
case 0x07:
gpu.gp0 = 2;
break;
default:
gpu.gp0 = gpu.ex_regs[5] & 0x3fffff;
break;
case 0x07:
gpu.gp0 = 2;
break;
default:
- gpu.gp0 = 0;
+ // gpu.gp0 unchanged
break;
}
}
break;
}
}