aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-09 19:36:38 +0200
committerFilippos Karapetis2014-12-09 19:38:11 +0200
commitea8db1969a7f975103d26f6a6a7eaa54835db7c1 (patch)
tree702ccb0a86693bde3588daf79b1d5c94d7b818dc
parent68693f996dc9b66ecbdfda9c38e07765ba0a70df (diff)
downloadscummvm-rg350-ea8db1969a7f975103d26f6a6a7eaa54835db7c1.tar.gz
scummvm-rg350-ea8db1969a7f975103d26f6a6a7eaa54835db7c1.tar.bz2
scummvm-rg350-ea8db1969a7f975103d26f6a6a7eaa54835db7c1.zip
ZVISION: Fix the 'dumpfile' console command
-rw-r--r--engines/zvision/core/console.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/zvision/core/console.cpp b/engines/zvision/core/console.cpp
index f8e28333f1..e641783338 100644
--- a/engines/zvision/core/console.cpp
+++ b/engines/zvision/core/console.cpp
@@ -209,7 +209,8 @@ bool Console::cmdDumpFile(int argc, const char **argv) {
}
Common::File f;
- if (!f.open(argv[1])) {
+ if (!_engine->getSearchManager()->openFile(f, argv[1])) {
+ warning("File not found: %s", argv[1]);
return true;
}