diff options
author | Cameron Cawley | 2018-07-28 23:10:26 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-29 09:38:12 +0200 |
commit | 7730fbb36e7625423875abd226d4eb413d0bd198 (patch) | |
tree | 9ff23dc43a0e9275909e22afae9c2567c7f51975 /engines | |
parent | d494d73c80027a58b7b8edd2c53893220b1c3989 (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/wintermute/wintermute.cpp | 2 |
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 |