diff options
author | Filippos Karapetis | 2009-05-29 13:19:18 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-05-29 13:19:18 +0000 |
commit | b042cab3a9d493077045d40b4cb70b0518b522c5 (patch) | |
tree | 6aa1075c2dfeaf76dd6350bd740cfeffd422a034 | |
parent | c7ee0a7ec86e1c948a4a840726e17003205663a5 (diff) | |
download | scummvm-rg350-b042cab3a9d493077045d40b4cb70b0518b522c5.tar.gz scummvm-rg350-b042cab3a9d493077045d40b4cb70b0518b522c5.tar.bz2 scummvm-rg350-b042cab3a9d493077045d40b4cb70b0518b522c5.zip |
Fixed a bug with the "size" console command
svn-id: r40995
-rw-r--r-- | engines/sci/console.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index b1fd831187..e649e55869 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -297,7 +297,7 @@ bool Console::cmdHexDump(int argc, const char **argv) { Resource *resource = _vm->getResMgr()->findResource(res, resNum, 0); if (resource) { Common::hexdump(resource->data, resource->size, 16, 0); - DebugPrintf("Resource %s.%03d not has been dumped to standard output\n", argv[1], resNum); + DebugPrintf("Resource %s.%03d has been dumped to standard output\n", argv[1], resNum); } else { DebugPrintf("Resource %s.%03d not found\n", argv[1], resNum); } @@ -332,9 +332,9 @@ bool Console::cmdRoomNumber(int argc, const char **argv) { } bool Console::cmdResourceSize(int argc, const char **argv) { - if (argc != 2) { + if (argc != 3) { DebugPrintf("Shows the size of a resource\n"); - DebugPrintf("Usage: %s <resource number>\n", argv[0]); + DebugPrintf("Usage: %s <resource type> <resource number>\n", argv[0]); return true; } |