all repos — mgba @ 06da7fcb0990a490c296d20e360a323f590c7962

mGBA Game Boy Advance Emulator

Fix rr writing to the wrong file
Jeffrey Pfau jeffrey@endrift.com
Wed, 06 Aug 2014 21:57:35 -0700
commit

06da7fcb0990a490c296d20e360a323f590c7962

parent

0389237fc6a43382aa1fce96af2d6a031d7e2ff9

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gba/gba-rr.csrc/gba/gba-rr.c

@@ -191,7 +191,7 @@ rr->movieStream->write(rr->movieStream, &oldStreamId, sizeof(oldStreamId));

_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; }