Skip to content
Permalink
Browse files

GLK: JACL: Fix loading savegames

  • Loading branch information...
dreammaster committed Oct 9, 2019
1 parent c271994 commit 54753ffce9caf2bc67d6584b9a694eabad611fbc
Showing with 5 additions and 1 deletion.
  1. +5 −1 engines/glk/jacl/jacl.cpp
@@ -53,7 +53,11 @@ void JACL::deinitialize() {
}

Common::Error JACL::readSaveData(Common::SeekableReadStream *rs) {
return Common::kNoError;
strid_t data_stream = _streams->openStream(rs);
bool success = restore_game(data_stream);
_streams->deleteStream(data_stream);

return success ? Common::kNoError : Common::kReadingFailed;
}

Common::Error JACL::writeGameData(Common::WriteStream *ws) {

0 comments on commit 54753ff

Please sign in to comment.
You can’t perform that action at this time.