RetroArch/network
Gregor Richards 1245d1b5dd Better netplay input simulation
In resimulation mode, we only copy the buttons. The reason for this
is nonobvious:

If we resimulated nothing, then the /duration/ with which any input
was pressed would be approximately correct, since the original
simulation came in as the input came in, but the /number of times/
the input was pressed would be wrong, as there would be an
advancing wavefront of real data overtaking the simulated data
(which is really just real data offset by some frames).

That's acceptable for arrows in most situations, since the amount
you move is tied to the duration, but unacceptable for buttons,
which will seem to jerkily be pressed numerous times with those
wavefronts.
2016-12-18 00:46:02 -05:00
..
httpserver Cleanups 2016-09-12 18:18:20 +02:00
netplay Better netplay input simulation 2016-12-18 00:46:02 -05:00
net_http_special.c update copyright 2016-10-27 11:47:10 -04:00
net_http_special.h Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
net_logger.c Move netplay code to network/netplay dir 2016-05-19 11:46:54 +02:00