Detect basic desync in rr

This commit is contained in:
Jeffrey Pfau 2014-08-03 19:47:02 -07:00
parent 4534574f50
commit a09bb6d51a
1 changed files with 3 additions and 0 deletions

View File

@ -213,6 +213,9 @@ void GBARRNextFrame(struct GBARRContext* rr) {
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);