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
physical cdrom readahead
[pcsx_rearmed.git]
/
plugins
/
gpu-gles
/
gpuPlugin.c
diff --git
a/plugins/gpu-gles/gpuPlugin.c
b/plugins/gpu-gles/gpuPlugin.c
index
60570ac
..
906d01e
100644
(file)
--- a/
plugins/gpu-gles/gpuPlugin.c
+++ b/
plugins/gpu-gles/gpuPlugin.c
@@
-453,7
+453,7
@@
return 0;
// some PAD or SPU plugins would not work anymore)
\r
////////////////////////////////////////////////////////////////////////
\r
\r
// some PAD or SPU plugins would not work anymore)
\r
////////////////////////////////////////////////////////////////////////
\r
\r
-long CALLBACK GPUopen(
int hwndGPU
)
\r
+long CALLBACK GPUopen(
unsigned long *disp, char *cap, char *cfg
)
\r
{
\r
iResX=800;iResY=480;
\r
iColDepth=8;
\r
{
\r
iResX=800;iResY=480;
\r
iColDepth=8;
\r
@@
-2205,9
+2205,8
@@
do
if(count>0) GPUwriteDataMem(&baseAddrL[dmaMem>>2],count);
\r
\r
addr = baseAddrL[addr>>2]&0xffffff;
\r
if(count>0) GPUwriteDataMem(&baseAddrL[dmaMem>>2],count);
\r
\r
addr = baseAddrL[addr>>2]&0xffffff;
\r
- }
\r
-while (addr != 0xffffff);
\r
-
\r
+ } while (!(addr & 0x800000)); // contrary to some documentation, the end-of-linked-list marker is not actually 0xFF'FFFF
\r
+ // any pointer with bit 23 set will do.
\r
GPUIsIdle;
\r
\r
return 0;
\r
GPUIsIdle;
\r
\r
return 0;
\r