[Scummvm-git-logs] scummvm master -> 2224ab4d17ac6198a836243d40bc22508d999f15

criezy criezy at scummvm.org
Tue Sep 7 00:14:17 UTC 2021


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:
2224ab4d17 AGS: Fix missing savegame description in querySaveMetaInfos


Commit: 2224ab4d17ac6198a836243d40bc22508d999f15
    https://github.com/scummvm/scummvm/commit/2224ab4d17ac6198a836243d40bc22508d999f15
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2021-09-07T01:08:27+01:00

Commit Message:
AGS: Fix missing savegame description in querySaveMetaInfos

This caused the description to be missing in the Grid View of the
ScummVM saveload dialog for example.

Changed paths:
    engines/ags/metaengine.cpp


diff --git a/engines/ags/metaengine.cpp b/engines/ags/metaengine.cpp
index c4f3e0a194..777e5e4a49 100644
--- a/engines/ags/metaengine.cpp
+++ b/engines/ags/metaengine.cpp
@@ -111,7 +111,7 @@ SaveStateDescriptor AGSMetaEngine::querySaveMetaInfos(const char *target, int sl
 		rich_media_header.ReadFromFile(&saveFile);
 
 		if (rich_media_header.dwMagicNumber == RM_MAGICNUMBER) {
-			SaveStateDescriptor desc(slot, Common::U32String());
+			SaveStateDescriptor desc(slot, rich_media_header.getSaveName());
 
 			// Thumbnail handling
 			if (rich_media_header.dwThumbnailOffsetLowerDword != 0 &&




More information about the Scummvm-git-logs mailing list