aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-19 18:08:47 +0200
committerJohannes Schickel2011-04-19 18:08:47 +0200
commitc6112f738312ff6243b3fca1373d4d44ef08ee32 (patch)
tree68787dc02ea7747f3604017f03ab62c4ffa16e5e /engines/tsage
parent10b0294c9405356a0bd426285d260a108e66c3d2 (diff)
downloadscummvm-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 'engines/tsage')
0 files changed, 0 insertions, 0 deletions