aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/wintermute.cpp
diff options
context:
space:
mode:
authorCameron Cawley2018-07-28 23:10:26 +0100
committerEugene Sandulenko2018-07-29 09:38:12 +0200
commit7730fbb36e7625423875abd226d4eb413d0bd198 (patch)
tree9ff23dc43a0e9275909e22afae9c2567c7f51975 /engines/wintermute/wintermute.cpp
parentd494d73c80027a58b7b8edd2c53893220b1c3989 (diff)
downloadscummvm-rg350-7730fbb36e7625423875abd226d4eb413d0bd198.tar.gz
scummvm-rg350-7730fbb36e7625423875abd226d4eb413d0bd198.tar.bz2
scummvm-rg350-7730fbb36e7625423875abd226d4eb413d0bd198.zip
WINTERMUTE: Return Common::kUnsupportedColorMode if the required screen format is unavailable
Diffstat (limited to 'engines/wintermute/wintermute.cpp')
-rw-r--r--engines/wintermute/wintermute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp
index 77df30a54a..21e6c589ad 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