aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/console.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-05-18 18:23:37 -0400
committerMatthew Hoops2011-05-18 18:23:37 -0400
commitd4c92983920cfe3b25a22d91e12c750e591b917e (patch)
treec0b63318b9ba0e67528337cfaa21515def1c3962 /engines/m4/console.cpp
parent7e2edf16b3e2bf1d2b31999979a60802514df6cb (diff)
parentcf107e24be28c7e6db65b5c7ffed120af4a7994b (diff)
downloadscummvm-rg350-d4c92983920cfe3b25a22d91e12c750e591b917e.tar.gz
scummvm-rg350-d4c92983920cfe3b25a22d91e12c750e591b917e.tar.bz2
scummvm-rg350-d4c92983920cfe3b25a22d91e12c750e591b917e.zip
Merge remote branch 'upstream/master' into pegasus
Diffstat (limited to 'engines/m4/console.cpp')
-rw-r--r--engines/m4/console.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/m4/console.cpp b/engines/m4/console.cpp
index cbcaa04669..6f45f11f5a 100644
--- a/engines/m4/console.cpp
+++ b/engines/m4/console.cpp
@@ -18,9 +18,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $URL$
- * $Id$
- *
*/
#include "common/textconsole.h"
@@ -150,12 +147,12 @@ bool Console::cmdDumpFile(int argc, const char **argv) {
DebugPrintf("If uncompress is 1, the file is uncompressed (for MADS games)\n");
} else {
if (argc == 2) {
- _vm->dumpFile(strdup(argv[1]));
+ _vm->dumpFile(argv[1], false);
} else {
if (argc == 3 && atoi(argv[2]) == 1)
- _vm->dumpFile(strdup(argv[1]), true);
+ _vm->dumpFile(argv[1], true);
else
- _vm->dumpFile(strdup(argv[1]));
+ _vm->dumpFile(argv[1], false);
}
}
return true;