mirror of https://github.com/mgba-emu/mgba.git
Core: Fix missing tailing bytes of video logs
This commit is contained in:
parent
aec8b82756
commit
5cda42077c
|
@ -834,7 +834,7 @@ static bool _fillBuffer(struct mVideoLogContext* context, size_t channelId, size
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (header.blockType == mVL_BLOCK_FOOTER) {
|
if (header.blockType == mVL_BLOCK_FOOTER) {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
if (header.channelId != channelId || header.blockType != mVL_BLOCK_DATA) {
|
if (header.channelId != channelId || header.blockType != mVL_BLOCK_DATA) {
|
||||||
context->backing->seek(context->backing, header.length, SEEK_CUR);
|
context->backing->seek(context->backing, header.length, SEEK_CUR);
|
||||||
|
|
Loading…
Reference in New Issue