mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 17:03:05 +00:00
SCUMM: Make use of new Common::Error type
This commit is contained in:
parent
3a574199b0
commit
b929699ad2
@ -1162,7 +1162,7 @@ Common::Error ScummEngine::init() {
|
||||
warning("Starting game without the required 16bit color support.\nYou may experience color glitches");
|
||||
initGraphics(screenWidth, screenHeight, (screenWidth > 320));
|
||||
} else {
|
||||
error("16bit color support is required for this game");
|
||||
return Common::Error(Common::kUnsupportedColorMode, "16bit color support is required for this game");
|
||||
}
|
||||
#endif
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user