frontend: change how exit is done
[pcsx_rearmed.git] / frontend / plugin_lib.c
index 472a1b2..fff8401 100644 (file)
@@ -606,6 +606,9 @@ void pl_frame_limit(void)
        struct timeval now;
        int diff, usadj;
 
+       if (g_emu_resetting)
+               return;
+
        vsync_cnt++;
 
        /* doing input here because the pad is polled