[Scummvm-git-logs] scummvm master -> e981f3bf2e66029a816f80a2f5600cdf2174412d

dreammaster dreammaster at scummvm.org
Sun Sep 18 02:03:58 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e981f3bf2e XEEN: Fix message in dump debugger command


Commit: e981f3bf2e66029a816f80a2f5600cdf2174412d
    https://github.com/scummvm/scummvm/commit/e981f3bf2e66029a816f80a2f5600cdf2174412d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-09-17T20:03:50-04:00

Commit Message:
XEEN: Fix message in dump debugger command

Changed paths:
    engines/xeen/debugger.cpp



diff --git a/engines/xeen/debugger.cpp b/engines/xeen/debugger.cpp
index 7835511..34bc0a3 100644
--- a/engines/xeen/debugger.cpp
+++ b/engines/xeen/debugger.cpp
@@ -87,12 +87,12 @@ bool Debugger::cmdDump(int argc, const char **argv) {
 	File f;
 
 	if (argc < 2) {
-		debugPrintf("Format: spell <resource name>\n");
+		debugPrintf("Format: dump <resource name>\n");
 	} else {
 		if (argc == 2)
 			f.open(argv[1]);
 		else
-			f.open(argv[1], *_vm->_files->_sideArchives[strToInt(argv[2]) == 0 ? 0 : 1]);
+			f.open(argv[1], (ArchiveType)strToInt(argv[2]));
 
 		if (f.isOpen()) {
 			Common::DumpFile df;





More information about the Scummvm-git-logs mailing list