aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/console.cpp')
-rw-r--r--engines/zvision/console.cpp4
1 files 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 <fileName> <x> <y> 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 <fileName> to load a video to the screen");
- return false;
+ return true;
}
Video::VideoDecoder *videoDecoder = new ZorkAVIDecoder();