mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 06:58:34 +00:00
AGI: Give a nicer error message on invalid render mode.
This commit is contained in:
parent
ee3e40abc1
commit
29ade784e4
@ -1055,7 +1055,7 @@ int GfxMgr::initVideo() {
|
||||
// Set the old common alternative Amiga palette
|
||||
initPalette(altAmigaPalette);
|
||||
} else
|
||||
error("initVideo: Unhandled render mode");
|
||||
error("initVideo: Unhandled render mode \"%s\"", Common::getRenderModeDescription(_vm->_renderMode));
|
||||
|
||||
if ((_agiScreen = (uint8 *)calloc(GFX_WIDTH, GFX_HEIGHT)) == NULL)
|
||||
return errNotEnoughMemory;
|
||||
|
Loading…
Reference in New Issue
Block a user