From ea8db1969a7f975103d26f6a6a7eaa54835db7c1 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 9 Dec 2014 19:36:38 +0200 Subject: ZVISION: Fix the 'dumpfile' console command --- engines/zvision/core/console.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3