[Scummvm-git-logs] scummvm master -> 51137b8864769584a0a28d12e553c6b08dc4485d
sluicebox
22204938+sluicebox at users.noreply.github.com
Mon Feb 8 00:38:52 UTC 2021
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
dac6babb81 SCI: Remove non-existent debug command from Help
51137b8864 SCI: Improve "opcodes" debug command output
Commit: dac6babb81d958d4b5c4524bab2d855215a7120e
https://github.com/scummvm/scummvm/commit/dac6babb81d958d4b5c4524bab2d855215a7120e
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2021-02-07T16:31:46-08:00
Commit Message:
SCI: Remove non-existent debug command from Help
Changed paths:
engines/sci/console.cpp
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 2cca75f018..cf65969c2c 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -311,7 +311,6 @@ bool Console::cmdHelp(int argc, const char **argv) {
debugPrintf("gc_interval: Number of kernel calls in between garbage collections\n");
debugPrintf("simulated_key: Add a key with the specified scan code to the event list\n");
debugPrintf("track_mouse_clicks: Toggles mouse click tracking to the console\n");
- debugPrintf("weak_validations: Turns some validation errors into warnings\n");
debugPrintf("script_abort_flag: Set to 1 to abort script execution. Set to 2 to force a replay afterwards\n");
debugPrintf("\n");
debugPrintf("Debug flags\n");
Commit: 51137b8864769584a0a28d12e553c6b08dc4485d
https://github.com/scummvm/scummvm/commit/51137b8864769584a0a28d12e553c6b08dc4485d
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2021-02-07T16:31:46-08:00
Commit Message:
SCI: Improve "opcodes" debug command output
Fixes third column not appearing on default GUI console size
Changed paths:
engines/sci/console.cpp
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index cf65969c2c..cd88ef5f56 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -529,7 +529,7 @@ bool Console::cmdOpcodes(int argc, const char **argv) {
int type = r->getUint16LEAt(offset + 2);
// QFG3 has empty opcodes
Common::String name = len > 0 ? r->getStringAt(offset + 4, len) : "Dummy";
- debugPrintf("%03x: %03x %20s | ", i, type, name.c_str());
+ debugPrintf("%03x: %03x %15s | ", i, type, name.c_str());
if ((i % 3) == 2)
debugPrintf("\n");
}
More information about the Scummvm-git-logs
mailing list