mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 02:11:38 +00:00
_data is a ScummFile, not a chunk, so it should use SEEK_SET, not
seek_start. And since SEEK_SET is the default seek mode, it doesn't make any difference anyway. svn-id: r17338
This commit is contained in:
parent
7b88503437
commit
1d87cdb497
@ -156,7 +156,7 @@ uint32 FileChunk::getDword() {
|
||||
}
|
||||
|
||||
void FileChunk::reinit(uint32 offset) {
|
||||
_data.seek(offset, seek_start);
|
||||
_data.seek(offset);
|
||||
_type = _data.readUint32BE();
|
||||
_size = _data.readUint32BE();
|
||||
_offset = _data.pos();
|
||||
|
Loading…
Reference in New Issue
Block a user