[Scummvm-git-logs] scummvm master -> 534c40171519c03a6c7c7d0a9f12034a2ce39cb7

dreammaster paulfgilbert at gmail.com
Wed Oct 7 04:23:05 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:
534c401715 GLK: ZCODE: Fix loading stack from savegames


Commit: 534c40171519c03a6c7c7d0a9f12034a2ce39cb7
    https://github.com/scummvm/scummvm/commit/534c40171519c03a6c7c7d0a9f12034a2ce39cb7
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-10-06T21:22:41-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