Skip to content

Commit

Permalink
SCUMM: Fix compilation on systems without USE_RGB_COLOR
Browse files Browse the repository at this point in the history
  • Loading branch information
csnover committed Oct 7, 2017
1 parent 914bb1b commit 6419178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/scumm/scumm.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ Common::Error ScummEngine::init() {
#else #else
if (_game.platform == Common::kPlatformFMTowns && _game.version == 3) { if (_game.platform == Common::kPlatformFMTowns && _game.version == 3) {
warning("Starting game without the required 16bit color support.\nYou may experience color glitches"); warning("Starting game without the required 16bit color support.\nYou may experience color glitches");
initGraphics(screenWidth, screenHeight, (screenWidth > 320)); initGraphics(screenWidth, screenHeight);
} else { } else {
return Common::Error(Common::kUnsupportedColorMode, "16bit color support is required for this game"); return Common::Error(Common::kUnsupportedColorMode, "16bit color support is required for this game");
} }
Expand Down

0 comments on commit 6419178

Please sign in to comment.