diff options
author | Johannes Schickel | 2011-04-19 18:08:47 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-19 18:08:47 +0200 |
commit | c6112f738312ff6243b3fca1373d4d44ef08ee32 (patch) | |
tree | 68787dc02ea7747f3604017f03ab62c4ffa16e5e /common/scummsys.h | |
parent | 10b0294c9405356a0bd426285d260a108e66c3d2 (diff) | |
download | scummvm-rg350-c6112f738312ff6243b3fca1373d4d44ef08ee32.tar.gz scummvm-rg350-c6112f738312ff6243b3fca1373d4d44ef08ee32.tar.bz2 scummvm-rg350-c6112f738312ff6243b3fca1373d4d44ef08ee32.zip |
COMMON: Do not call ReadStream::eos in SubReadStream::read.
Instead I moved the call to ReadStream::eos into SubReadStream::eos.
fuzzie pointed out that in certain cases this resulted in a lot of eos calls
before. Those were rather needlessly, since checking the eos bit of the
decorated stream in read does not give any advantage over checking it when
the client code really wants to test the eos flag.
Diffstat (limited to 'common/scummsys.h')
0 files changed, 0 insertions, 0 deletions