mirror of https://github.com/mgba-emu/mgba.git
Fix rr writing to the wrong file
This commit is contained in:
parent
0389237fc6
commit
06da7fcb09
|
@ -191,7 +191,7 @@ bool GBARRIncrementStream(struct GBARRContext* rr, bool recursive) {
|
||||||
_emitTag(rr, rr->movieStream, TAG_BEGIN);
|
_emitTag(rr, rr->movieStream, TAG_BEGIN);
|
||||||
|
|
||||||
rr->metadataFile->seek(rr->metadataFile, rr->maxStreamIdOffset, SEEK_SET);
|
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;
|
rr->previously = oldStreamId;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue