aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.h
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-20 13:25:29 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitca267da97c14268f8c650d7dac727182062129d0 (patch)
treee6d0e6fe09481332a481587446e5bc30ba299dd9 /engines/dm/dm.h
parentd85970b4e47d05db625eccd04646514d47b8e5fe (diff)
downloadscummvm-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.h2
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);