[Scummvm-git-logs] scummvm master -> 190e47be96664a5221216d20dda729b56bc3f015

bluegr bluegr at gmail.com
Wed Feb 12 23:09:13 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:
190e47be96 SCI32: fix bug #2053 - refresh the screen before saving the game


Commit: 190e47be96664a5221216d20dda729b56bc3f015
    https://github.com/scummvm/scummvm/commit/190e47be96664a5221216d20dda729b56bc3f015
Author: Zvika Haramaty (haramaty.zvika at gmail.com)
Date: 2020-02-13T01:09:09+02:00

Commit Message:
SCI32: fix bug #2053 - refresh the screen before saving the game

Changed paths:
    engines/sci/engine/kfile.cpp


diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index e60c896..e636c45 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -1334,6 +1334,11 @@ reg_t kGetSaveFiles(EngineState *s, int argc, reg_t *argv) {
 #ifdef ENABLE_SCI32
 
 reg_t kSaveGame32(EngineState *s, int argc, reg_t *argv) {
+	// fix bug #9752 - make sure that control panel (in case of QFG4),
+	// keyboard (in case of Shivers), or any other obstacle (in other unknown SCI32 games...)
+	// will be hidden before saving
+	kFrameOut(s, 0, NULL);
+
 	const Common::String gameName = s->_segMan->getString(argv[0]);
 	int16 saveNo = argv[1].toSint16();
 	Common::String saveDescription = argv[2].isNull() ? "" : s->_segMan->getString(argv[2]);




More information about the Scummvm-git-logs mailing list