[Scummvm-git-logs] scummvm branch-2-2 -> 65e23707445c337aac79d1feddec344822d89dd4

dreammaster paulfgilbert at gmail.com
Wed Oct 7 04:23:25 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
65e2370744 GLK: ZCODE: Fix loading stack from savegames


Commit: 65e23707445c337aac79d1feddec344822d89dd4
    https://github.com/scummvm/scummvm/commit/65e23707445c337aac79d1feddec344822d89dd4
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-10-06T21:23:14-07:00

Commit Message:
GLK: ZCODE: Fix loading stack from savegames

Changed paths:
    engines/glk/zcode/quetzal.cpp


diff --git a/engines/glk/zcode/quetzal.cpp b/engines/glk/zcode/quetzal.cpp
index 8d3d1b9f2b..52c126c3df 100644
--- a/engines/glk/zcode/quetzal.cpp
+++ b/engines/glk/zcode/quetzal.cpp
@@ -324,7 +324,7 @@ int Quetzal::restore(Common::SeekableReadStream *sv, Processor *proc) {
 					return fatal;
 				
 				for (i = 0; i < tmpw; ++i)
-					--*p._sp = s->readUint16BE();
+					*--p._sp = s->readUint16BE();
 				currlen -= tmpw * 2;
 			}
 




More information about the Scummvm-git-logs mailing list