[Scummvm-git-logs] scummvm master -> 7730fbb36e7625423875abd226d4eb413d0bd198

sev- sev at scummvm.org
Sun Jul 29 09:38:15 CEST 2018


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:
7730fbb36e WINTERMUTE: Return Common::kUnsupportedColorMode if the required screen format is unavailable


Commit: 7730fbb36e7625423875abd226d4eb413d0bd198
    https://github.com/scummvm/scummvm/commit/7730fbb36e7625423875abd226d4eb413d0bd198
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2018-07-29T09:38:12+02:00

Commit Message:
WINTERMUTE: Return Common::kUnsupportedColorMode if the required screen format is unavailable

Changed paths:
    engines/wintermute/wintermute.cpp


diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp
index 77df30a..21e6c58 100644
--- a/engines/wintermute/wintermute.cpp
+++ b/engines/wintermute/wintermute.cpp
@@ -118,7 +118,7 @@ Common::Error WintermuteEngine::run() {
 		initGraphics(800, 600, &format);
 	}
 	if (g_system->getScreenFormat() != format) {
-		error("Wintermute currently REQUIRES 32bpp");
+		return Common::kUnsupportedColorMode;
 	}
 
 	// Create debugger console. It requires GFX to be initialized





More information about the Scummvm-git-logs mailing list