Detect basic desync in rr
Jeffrey Pfau jeffrey@endrift.com
Sun, 03 Aug 2014 19:47:02 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-rr.c
→
src/gba/gba-rr.c
@@ -213,6 +213,9 @@ _emitTag(rr, rr->movieStream, TAG_FRAME);
rr->inputThisFrame = false; } else { + if (rr->peekedTag == TAG_INPUT) { + GBALog(0, GBA_LOG_WARN, "RR desync detected!"); + } if (!_seekTag(rr, rr->movieStream, TAG_FRAME)) { uint32_t endStreamId = rr->streamId; GBARRStopPlaying(rr);