diff options
author | Max Horn | 2009-05-19 11:42:14 +0000 |
---|---|---|
committer | Max Horn | 2009-05-19 11:42:14 +0000 |
commit | 65b5d318140c7ff846455a37ec7ae63e635bcdcf (patch) | |
tree | 77f278ceec1e54e097056df0b2820e414eed8290 /engines/kyra | |
parent | 4d59f620f9fdc1dfd7ccd6c7d30a0b5de480eb20 (diff) | |
download | scummvm-rg350-65b5d318140c7ff846455a37ec7ae63e635bcdcf.tar.gz scummvm-rg350-65b5d318140c7ff846455a37ec7ae63e635bcdcf.tar.bz2 scummvm-rg350-65b5d318140c7ff846455a37ec7ae63e635bcdcf.zip |
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
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/saveload.cpp b/engines/kyra/saveload.cpp index a7187f6c76..f6302d39c1 100644 --- a/engines/kyra/saveload.cpp +++ b/engines/kyra/saveload.cpp @@ -197,7 +197,7 @@ Common::WriteStream *KyraEngine_v1::openSaveForWriting(const char *filename, con else out->writeUint32BE(GF_FLOPPY); - if (out->ioFailed()) { + if (out->err()) { warning("Can't write file '%s'. (Disk full?)", filename); delete out; return 0; |