mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
ZVISION: Simplify check
Thanks to DrMcCoy for spotting this
This commit is contained in:
parent
b41b3e1a89
commit
0f590561bd
@ -73,10 +73,7 @@ RawChunkStream::RawChunk RawChunkStream::readNextChunk(Common::SeekableReadStrea
|
||||
tmp.size = 0;
|
||||
tmp.data = NULL;
|
||||
|
||||
if (!stream)
|
||||
return tmp;
|
||||
|
||||
if (stream && (stream->size() == 0 || stream->eos()))
|
||||
if (!stream || stream->size() == 0 || stream->eos())
|
||||
return tmp;
|
||||
|
||||
tmp.size = (stream->size() - stream->pos()) * 2;
|
||||
|
Loading…
Reference in New Issue
Block a user