notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b56809
)
gpulib: update gpuinfo
author
notaz
<notasas@gmail.com>
Fri, 14 Oct 2022 21:37:43 +0000
(
00:37
+0300)
committer
notaz
<notasas@gmail.com>
Sat, 15 Oct 2022 22:47:45 +0000
(
01:47
+0300)
according to nocash
plugins/gpulib/gpu.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpulib/gpu.c
b/plugins/gpulib/gpu.c
index
d08b2b5
..
797431c
100644
(file)
--- a/
plugins/gpulib/gpu.c
+++ b/
plugins/gpulib/gpu.c
@@
-134,17
+134,16
@@
static noinline void get_gpu_info(uint32_t data)
case 0x02:
case 0x03:
case 0x04:
- case 0x05:
gpu.gp0 = gpu.ex_regs[data & 7] & 0xfffff;
break;
- case 0x0
6
:
- gpu.gp0 = gpu.ex_regs[5] & 0xfffff;
+ case 0x0
5
:
+ gpu.gp0 = gpu.ex_regs[5] & 0x
3
fffff;
break;
case 0x07:
gpu.gp0 = 2;
break;
default:
- gpu.gp0 = 0;
+ // gpu.gp0 unchanged
break;
}
}