aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-21 23:37:05 +0100
committerJohannes Schickel2016-01-21 23:41:30 +0100
commit29ade784e43f73dd10c63df193baeda958f370c6 (patch)
tree31d7de629f43a7a751b1dfb6b73a3c8a8ba1c047
parentee3e40abc18acd685bb15832fca8f49fc0150b22 (diff)
downloadscummvm-rg350-29ade784e43f73dd10c63df193baeda958f370c6.tar.gz
scummvm-rg350-29ade784e43f73dd10c63df193baeda958f370c6.tar.bz2
scummvm-rg350-29ade784e43f73dd10c63df193baeda958f370c6.zip
AGI: Give a nicer error message on invalid render mode.
-rw-r--r--engines/agi/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp
index c5cede71ef..b46e6f726c 100644
--- a/engines/agi/graphics.cpp
+++ b/engines/agi/graphics.cpp
@@ -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;