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
|
@ -484,7 +484,7 @@ static void DoSave(void) {
|
|||
memcpy(hdr.desc, SaveSceneDesc, SG_DESC_LEN);
|
||||
hdr.desc[SG_DESC_LEN - 1] = 0;
|
||||
g_system->getTimeAndDate(hdr.dateTime);
|
||||
if (!syncSaveGameHeader(s, hdr) || f->ioFailed()) {
|
||||
if (!syncSaveGameHeader(s, hdr) || f->err()) {
|
||||
goto save_failure;
|
||||
}
|
||||
|
||||
|
@ -492,7 +492,7 @@ static void DoSave(void) {
|
|||
|
||||
// Write out the special Id for Discworld savegames
|
||||
f->writeUint32LE(0xFEEDFACE);
|
||||
if (f->ioFailed())
|
||||
if (f->err())
|
||||
goto save_failure;
|
||||
|
||||
f->finalize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue