From 09358141de42a2ecb4ad487145dc52345814f8a1 Mon Sep 17 00:00:00 2001 From: richiesams Date: Fri, 12 Jul 2013 00:44:05 -0500 Subject: ZVISION: Allow the console to stay open when errors occur --- engines/zvision/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/zvision/console.cpp b/engines/zvision/console.cpp index 3721c94f42..f038af1232 100644 --- a/engines/zvision/console.cpp +++ b/engines/zvision/console.cpp @@ -38,7 +38,7 @@ Console::Console(ZVision *engine) : GUI::Debugger(), _engine(engine) { bool Console::cmdLoadImage(int argc, const char **argv) { if (argc != 4) { DebugPrintf("Use loadimage to load an image to the screen"); - return false; + return true; } _engine->renderImageToScreen(argv[1], atoi(argv[2]), atoi(argv[3])); @@ -48,7 +48,7 @@ bool Console::cmdLoadImage(int argc, const char **argv) { bool Console::cmdLoadVideo(int argc, const char **argv) { if (argc != 2) { DebugPrintf("Use loadvideo to load a video to the screen"); - return false; + return true; } Video::VideoDecoder *videoDecoder = new ZorkAVIDecoder(); -- cgit v1.2.3