COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
This commit is contained in:
parent
4d59f620f9
commit
65b5d31814
26 changed files with 68 additions and 76 deletions
|
@ -42,7 +42,7 @@ bool writeChunkHeader(Common::OutSaveFile &out, const ChunkHeader &header) {
|
|||
out.writeUint32BE(header.id);
|
||||
out.writeUint32BE(header.version);
|
||||
out.writeUint32BE(header.size);
|
||||
return !out.ioFailed();
|
||||
return !out.err();
|
||||
}
|
||||
|
||||
bool loadChunkHeader(Common::SeekableReadStream &in, ChunkHeader &header) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue