VIDEO: Allow zero data words count in decodeDeltaFLC
Excerpt from specification: The first byte of each packet is the column skip count; the second byte is the RLE count byte. Zero or more data words follow the RLE count byte.
This commit is contained in:
parent
4f10b64005
commit
deb959a902
1 changed files with 0 additions and 2 deletions
|
@ -351,8 +351,6 @@ void FlicDecoder::FlicVideoTrack::decodeDeltaFLC(uint8 *data) {
|
|||
WRITE_UINT16((byte *)_surface->getBasePtr(column + i * 2, currentLine), dataWord);
|
||||
}
|
||||
_dirtyRects.push_back(Common::Rect(column, currentLine, column + rleCount * 2, currentLine + 1));
|
||||
} else { // End of cutscene ?
|
||||
return;
|
||||
}
|
||||
column += rleCount * 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue