diff options
author | Eugene Sandulenko | 2016-09-18 00:59:40 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-18 00:59:40 +0200 |
commit | ffe2c802c471826913e79333a979d41c94a9cc67 (patch) | |
tree | 224a355413f1088e614c00baa93415fa6a215f00 /engines/fullpipe/gameloader.cpp | |
parent | f0d786184bb9b3cfefc16fb2be87d6c6d1017160 (diff) | |
download | scummvm-rg350-ffe2c802c471826913e79333a979d41c94a9cc67.tar.gz scummvm-rg350-ffe2c802c471826913e79333a979d41c94a9cc67.tar.bz2 scummvm-rg350-ffe2c802c471826913e79333a979d41c94a9cc67.zip |
FULLPIPE: Save header, remove debug leftovers
Diffstat (limited to 'engines/fullpipe/gameloader.cpp')
-rw-r--r-- | engines/fullpipe/gameloader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/fullpipe/gameloader.cpp b/engines/fullpipe/gameloader.cpp index 5d204bf0cd..8524a8ddf5 100644 --- a/engines/fullpipe/gameloader.cpp +++ b/engines/fullpipe/gameloader.cpp @@ -651,7 +651,6 @@ void GameLoader::writeSavegame(Scene *sc, const char *fname) { v->_parentVarObj = 0; v->_nextVarObj = 0; v->_prevVarObj = 0; - warning("NULLIFIED"); } archive->writeObject(v); @@ -683,6 +682,8 @@ void GameLoader::writeSavegame(Scene *sc, const char *fname) { // Now dump it into save file Common::OutSaveFile *saveFile = g_system->getSavefileManager()->openForSaving(fname); + saveFile->write(&header, sizeof(header)); + saveFile->write(stream.getData(), stream.size()); saveFile->finalize(); |