Netplay pause fix redux.

We must actually poll input when netplay is paused, or it
just looks stalled. This fixes that. Again.
This commit is contained in:
Gregor Richards 2016-12-16 10:13:44 -05:00
parent 2153f3f011
commit 1153652ebb

View File

@ -390,7 +390,10 @@ bool core_run(void)
#ifdef HAVE_NETWORKING
if (!netplay_driver_ctl(RARCH_NETPLAY_CTL_PRE_FRAME, NULL))
{
/* Paused due to Netplay */
/* Paused due to netplay. We must poll and display something so that a
* netplay peer pausing doesn't just hang. */
input_poll();
video_driver_cached_frame();
return true;
}
#endif