[Scummvm-cvs-logs] scummvm master -> bab1afa6ccd5f9d3c53dfa494145cbd947ffcde2

clone2727 clone2727 at gmail.com
Sun Feb 22 22:50:58 CET 2015


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:
bab1afa6cc BASE: Fix infinite loop upon trying to play a game and not finding the engine


Commit: bab1afa6ccd5f9d3c53dfa494145cbd947ffcde2
    https://github.com/scummvm/scummvm/commit/bab1afa6ccd5f9d3c53dfa494145cbd947ffcde2
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2015-02-22T16:49:29-05:00

Commit Message:
BASE: Fix infinite loop upon trying to play a game and not finding the engine

A regression from f74ba29753de23bad9a07f531fc4c03ea3375594

Changed paths:
    base/main.cpp



diff --git a/base/main.cpp b/base/main.cpp
index 0f5ebc7..3ea38b5 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -552,6 +552,9 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
 			PluginManager::instance().loadAllPlugins(); // only for cached manager
 		} else {
 			GUI::displayErrorDialog(_("Could not find any engine capable of running the selected game"));
+
+			// Clear the active domain
+			ConfMan.setActiveDomain("");
 		}
 
 		// reset the graphics to default






More information about the Scummvm-git-logs mailing list