diff options
-rw-r--r-- | engines/zvision/core/console.cpp | 3 |
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; } |