mirror of
https://github.com/libretro/RetroArch
synced 2025-01-16 07:11:49 +00:00
2c07561fc1
Unsurprisingly, netplay and runahead are wildly incompatible; both rely on internal rewinding, without communicating this fact to each other. Somewhat more surprisingly, netplay already has all the infrastructure for negative input latency, as it's structurally the same as receiving delayed input from a peer. This patch makes the two features "compatible" by disabling runahead per se when netplay is active, and using runahead's configuration to adjust netplay's own input latency feature, which is now allowed to be negative. The effect is mostly the same (modulo the second core support), and it doesn't confuse netplay peers. |
||
---|---|---|
.. | ||
httpserver | ||
netplay | ||
net_http_special.c | ||
net_http_special.h | ||
net_logger.c |