aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authornotaz2011-09-18 03:13:23 +0300
committernotaz2011-09-19 19:01:47 +0300
commit47f3758357b605deeaefe94e457d28470bf5aaa3 (patch)
treeedb31dbddc073b87e8a5260c9a2de0c810bdbd09 /frontend
parenta3ed191507a8162f676f92b44dd61eb5e14d2194 (diff)
downloadpcsx_rearmed-47f3758357b605deeaefe94e457d28470bf5aaa3.tar.gz
pcsx_rearmed-47f3758357b605deeaefe94e457d28470bf5aaa3.tar.bz2
pcsx_rearmed-47f3758357b605deeaefe94e457d28470bf5aaa3.zip
frontend: fix frame limiter issue
sleeping too much sometims causes unwanted stuttering..
Diffstat (limited to 'frontend')
-rw-r--r--frontend/plugin_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index 0a49872..b60c1cd 100644
--- 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) {