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

sev- sev at scummvm.org
Fri Sep 4 22:43:57 UTC 2020


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:
d0167d0a11 ILLUSIONS: Hid deubg message deeper
b10b9bd929 ILLUSIONS: Fix subtitle speed in Duckman. Fxies #11636


Commit: d0167d0a11e48b5c66827eb3858c6234e0e3431b
    https://github.com/scummvm/scummvm/commit/d0167d0a11e48b5c66827eb3858c6234e0e3431b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-09-05T00:04:59+02:00

Commit Message:
ILLUSIONS: Hid deubg message deeper

Changed paths:
    engines/illusions/scriptopcodes.cpp


diff --git a/engines/illusions/scriptopcodes.cpp b/engines/illusions/scriptopcodes.cpp
index 7d515a8109..203f24ab42 100644
--- a/engines/illusions/scriptopcodes.cpp
+++ b/engines/illusions/scriptopcodes.cpp
@@ -62,7 +62,7 @@ ScriptOpcodes::~ScriptOpcodes() {
 void ScriptOpcodes::execOpcode(ScriptThread *scriptThread, OpCall &opCall) {
 	if (!_opcodes[opCall._op])
 		error("ScriptOpcodes::execOpcode() Unimplemented opcode %d", opCall._op);
-	debug(0, "\nexecOpcode([%08X] %d) %s", opCall._callerThreadId, opCall._op, _opcodeNames[opCall._op].c_str());
+	debug(2, "execOpcode([%08X] %d) %s", opCall._callerThreadId, opCall._op, _opcodeNames[opCall._op].c_str());
 	(*_opcodes[opCall._op])(scriptThread, opCall);
 }
 


Commit: b10b9bd9293587288b787b5efd876077cc3ecdfc
    https://github.com/scummvm/scummvm/commit/b10b9bd9293587288b787b5efd876077cc3ecdfc
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-09-05T00:41:54+02:00

Commit Message:
ILLUSIONS: Fix subtitle speed in Duckman. Fxies #11636

The original was operating byte pointers and we work with uint16 *.
Thus, division by 2 is not needed for counting string length

Changed paths:
    engines/illusions/threads/talkthread_duckman.cpp


diff --git a/engines/illusions/threads/talkthread_duckman.cpp b/engines/illusions/threads/talkthread_duckman.cpp
index 19b40a757e..c7742a61c4 100644
--- a/engines/illusions/threads/talkthread_duckman.cpp
+++ b/engines/illusions/threads/talkthread_duckman.cpp
@@ -307,7 +307,7 @@ int TalkThread_Duckman::insertText() {
 	Common::Point pt;
 	_vm->getDefaultTextPosition(pt);
 	_vm->_screenText->updateTextInfoPosition(pt);
-	int charCount = (_entryText - _currEntryText) / 2;
+	int charCount = _entryText - _currEntryText;
 	return charCount;
 }
 




More information about the Scummvm-git-logs mailing list