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
|
@ -225,7 +225,7 @@ int AgiEngine::saveGame(const char *fileName, const char *description) {
|
|||
out->writeSint16BE(_gfx->getAGIPalFileNum());
|
||||
|
||||
out->finalize();
|
||||
if (out->ioFailed()) {
|
||||
if (out->err()) {
|
||||
warning("Can't write file '%s'. (Disk full?)", fileName);
|
||||
result = errIOError;
|
||||
} else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue