mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 05:01:43 +00:00
TUCKER: Improve autosave error handling
This commit is contained in:
parent
2bbed8146f
commit
08bbef8f7d
@ -295,7 +295,10 @@ void TuckerEngine::writeAutosave() {
|
||||
return;
|
||||
}
|
||||
|
||||
writeSavegame(kAutoSaveSlot, "Autosave", true);
|
||||
if (writeSavegame(kAutoSaveSlot, "Autosave", true).getCode() != Common::kNoError) {
|
||||
warning("Can't create autosave in slot %i, game not saved", kAutoSaveSlot);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user