[Scummvm-git-logs] scummvm master -> 2d67cc23b0a9a2338765b7ad575ac17a6b0de923
bluegr
noreply at scummvm.org
Wed Nov 20 06:07:04 UTC 2024
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:
2d67cc23b0 GOB: Add missing commands to the console help text
Commit: 2d67cc23b0a9a2338765b7ad575ac17a6b0de923
https://github.com/scummvm/scummvm/commit/2d67cc23b0a9a2338765b7ad575ac17a6b0de923
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-11-20T08:06:40+02:00
Commit Message:
GOB: Add missing commands to the console help text
Changed paths:
engines/gob/console.cpp
diff --git a/engines/gob/console.cpp b/engines/gob/console.cpp
index 3bbbe41e9c3..8bcb70a94d5 100644
--- a/engines/gob/console.cpp
+++ b/engines/gob/console.cpp
@@ -58,11 +58,12 @@ void GobConsole::unregisterCheater() {
}
bool GobConsole::cmd_Help(int, const char **) {
- debugPrintf("Debug flags\n");
- debugPrintf("-----------\n");
+ debugPrintf("Debug\n");
+ debugPrintf("-----\n");
debugPrintf(" debugflag_list - Lists the available debug flags and their status\n");
debugPrintf(" debugflag_enable - Enables a debug flag\n");
debugPrintf(" debugflag_disable - Disables a debug flag\n");
+ debugPrintf(" debuglevel - Sets debug level\n");
debugPrintf("\n");
debugPrintf("Commands\n");
debugPrintf("--------\n");
@@ -77,6 +78,7 @@ bool GobConsole::cmd_Help(int, const char **) {
debugPrintf(" var8 - manipulates 8-bit variables; usage: var8 <var offset> (<value>)\n");
debugPrintf(" var16 - manipulates 16-bit variables; usage: var16 <var offset> (<value>)\n");
debugPrintf(" var32 - manipulates 32-bit variables; usage: var32 <var offset> (<value>)\n");
+ debugPrintf(" varString - manipulates string references; usage: varString <var offset> (<value>)\n");
debugPrintf("\n");
return true;
}
@@ -169,7 +171,7 @@ bool GobConsole::cmd_var32(int argc, const char **argv) {
_vm->_inter->_variables->writeOff32(varNum, varVal);
}
- debugPrintf("var8_%d = %d\n", varNum, _vm->_inter->_variables->readOff32(varNum));
+ debugPrintf("var32_%d = %d\n", varNum, _vm->_inter->_variables->readOff32(varNum));
return true;
}
More information about the Scummvm-git-logs
mailing list