diff options
author | Filippos Karapetis | 2014-12-09 19:36:38 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-12-09 19:38:11 +0200 |
commit | ea8db1969a7f975103d26f6a6a7eaa54835db7c1 (patch) | |
tree | 702ccb0a86693bde3588daf79b1d5c94d7b818dc /engines | |
parent | 68693f996dc9b66ecbdfda9c38e07765ba0a70df (diff) | |
download | scummvm-rg350-ea8db1969a7f975103d26f6a6a7eaa54835db7c1.tar.gz scummvm-rg350-ea8db1969a7f975103d26f6a6a7eaa54835db7c1.tar.bz2 scummvm-rg350-ea8db1969a7f975103d26f6a6a7eaa54835db7c1.zip |
ZVISION: Fix the 'dumpfile' console command
Diffstat (limited to 'engines')
-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; } |