Fix rr writing to the wrong file

This commit is contained in:
Jeffrey Pfau 2014-08-06 21:57:35 -07:00
parent 0389237fc6
commit 06da7fcb09
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ bool GBARRIncrementStream(struct GBARRContext* rr, bool recursive) {
_emitTag(rr, rr->movieStream, TAG_BEGIN);
rr->metadataFile->seek(rr->metadataFile, rr->maxStreamIdOffset, SEEK_SET);
rr->metadataFile->write(rr->movieStream, &rr->maxStreamId, sizeof(rr->maxStreamId));
rr->metadataFile->write(rr->metadataFile, &rr->maxStreamId, sizeof(rr->maxStreamId));
rr->previously = oldStreamId;
return true;
}