[Scummvm-git-logs] scummvm master -> 89f1e9939c43560419704b3de4a096f1e2c243ef

waltervn walter at vanniftrik-it.nl
Thu Nov 10 15:14:22 CET 2016


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:
89f1e9939c ADL: Wait for key in quit opcode


Commit: 89f1e9939c43560419704b3de4a096f1e2c243ef
    https://github.com/scummvm/scummvm/commit/89f1e9939c43560419704b3de4a096f1e2c243ef
Author: Walter van Niftrik (walter at scummvm.org)
Date: 2016-11-10T15:07:27+01:00

Commit Message:
ADL: Wait for key in quit opcode

This fixes the hires2 ending issue reported in #9575.

Changed paths:
    engines/adl/adl.cpp



diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index ad409b7..63b0937 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -1102,6 +1102,11 @@ int AdlEngine::o1_quit(ScriptEnv &e) {
 	OP_DEBUG_0("\tQUIT_GAME()");
 
 	printMessage(_messageIds.thanksForPlaying);
+	// Wait for a key here to ensure that the user gets a chance
+	// to read the thank-you message
+	_display->printAsciiString("PRESS ANY KEY TO QUIT");
+	inputKey();
+
 	// We use _isRestarting to abort the current game loop iteration
 	_isQuitting = _isRestarting = true;
 	return -1;





More information about the Scummvm-git-logs mailing list