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:
a3ed191
)
frontend: fix frame limiter issue
author
notaz
<notasas@gmail.com>
Sun, 18 Sep 2011 00:13:23 +0000
(
03:13
+0300)
committer
notaz
<notasas@gmail.com>
Mon, 19 Sep 2011 16:01:47 +0000
(19:01 +0300)
sleeping too much sometims causes unwanted stuttering..
frontend/plugin_lib.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/plugin_lib.c
b/frontend/plugin_lib.c
index
0a49872
..
b60c1cd
100644
(file)
--- a/
frontend/plugin_lib.c
+++ b/
frontend/plugin_lib.c
@@
-310,7
+310,7
@@
void pl_frame_limit(void)
if (!(g_opts & OPT_NO_FRAMELIM) && diff > frame_interval) {
// yay for working usleep on pandora!
//printf("usleep %d\n", diff - frame_interval / 2);
- usleep(diff - frame_interval
/ 2
);
+ usleep(diff - frame_interval);
}
if (pl_rearmed_cbs.frameskip) {