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
adjust dma alignment and some cleanup
[pcsx_rearmed.git]
/
plugins
/
gpulib
/
vout_sdl.c
diff --git
a/plugins/gpulib/vout_sdl.c
b/plugins/gpulib/vout_sdl.c
index
db1ae96
..
81272b2
100644
(file)
--- a/
plugins/gpulib/vout_sdl.c
+++ b/
plugins/gpulib/vout_sdl.c
@@
-54,7
+54,7
@@
void vout_update(void)
int i;
SDL_LockSurface(screen);
int i;
SDL_LockSurface(screen);
- if (gpu.status
.rgb
24)
+ if (gpu.status
& PSX_GPU_STATUS_RGB
24)
{
uint8_t *s;
int y;
{
uint8_t *s;
int y;
@@
-77,9
+77,13
@@
void vout_update(void)
SDL_UpdateRect(screen, 0, 0, 1024, 512);
}
SDL_UpdateRect(screen, 0, 0, 1024, 512);
}
-
long GPUopen(void **dpy
)
+
void vout_blank(void
)
{
{
- *dpy = x11_display;
+}
+
+long GPUopen(unsigned long *disp, char *cap, char *cfg)
+{
+ *disp = (long)x11_display;
return 0;
}
return 0;
}