diff options
author | Bendegúz Nagy | 2016-08-20 13:25:29 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | ca267da97c14268f8c650d7dac727182062129d0 (patch) | |
tree | e6d0e6fe09481332a481587446e5bc30ba299dd9 /engines/dm/dm.h | |
parent | d85970b4e47d05db625eccd04646514d47b8e5fe (diff) | |
download | scummvm-rg350-ca267da97c14268f8c650d7dac727182062129d0.tar.gz scummvm-rg350-ca267da97c14268f8c650d7dac727182062129d0.tar.bz2 scummvm-rg350-ca267da97c14268f8c650d7dac727182062129d0.zip |
DM: Add file error checking for save game
Diffstat (limited to 'engines/dm/dm.h')
-rw-r--r-- | engines/dm/dm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/dm.h b/engines/dm/dm.h index d90943b764..edc54c17b3 100644 --- a/engines/dm/dm.h +++ b/engines/dm/dm.h @@ -209,7 +209,7 @@ class DMEngine : public Engine { void initArrays(); Common::String getSavefileName(uint16 slot); void writeSaveGameHeader(Common::OutSaveFile *out, const Common::String &saveName); - void writeCompleteSaveFile(int16 slot, Common::String &desc, int16 saveAndPlayChoice); + bool writeCompleteSaveFile(int16 slot, Common::String &desc, int16 saveAndPlayChoice); void f439_drawEntrance(); // @ F0439_STARTEND_DrawEntrance public: explicit DMEngine(OSystem *syst, const ADGameDescription *gameDesc); |