notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more 0.98.15-like timing, but sound glitches
[fceu.git]
/
video.c
diff --git
a/video.c
b/video.c
index
1b0298e
..
adcb786
100644
(file)
--- a/
video.c
+++ b/
video.c
@@
-30,6
+30,9
@@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#ifdef GP2X
+#include <unistd.h>
+#endif
#include "types.h"
#include "video.h"
@@
-249,6
+252,9
@@
int SaveSnapshot(void)
free(compmem);
fclose(pp);
+#ifdef GP2X
+ sync();
+#endif
return u+1;