aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin_lib.c
diff options
context:
space:
mode:
authornotaz2013-01-05 00:06:41 +0200
committernotaz2013-01-05 19:21:12 +0200
commit81edd2b39a4efb991c4eaab15db4dd20ae3eafda (patch)
tree584e9427fbecb0bde0a6af59c54908e58fa089d8 /frontend/plugin_lib.c
parent0fed3dc3d9799a9db68dd8be4172aafb0e161957 (diff)
downloadpcsx_rearmed-81edd2b39a4efb991c4eaab15db4dd20ae3eafda.tar.gz
pcsx_rearmed-81edd2b39a4efb991c4eaab15db4dd20ae3eafda.tar.bz2
pcsx_rearmed-81edd2b39a4efb991c4eaab15db4dd20ae3eafda.zip
frontend: don't update during reset
otherwise update thread may collect input events that really belong to UI. Another hack :(
Diffstat (limited to 'frontend/plugin_lib.c')
-rw-r--r--frontend/plugin_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index 472a1b2..dfff868 100644
--- a/frontend/plugin_lib.c
+++ b/frontend/plugin_lib.c
@@ -606,6 +606,9 @@ void pl_frame_limit(void)
struct timeval now;
int diff, usadj;
+ if (g_resetting)
+ return;
+
vsync_cnt++;
/* doing input here because the pad is polled