[Scummvm-git-logs] scummvm master -> 0f152344e11d9435bdbc2d3138c1400c50654f18

eriktorbjorn eriktorbjorn at telia.com
Wed Nov 10 19:51:57 UTC 2021


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:
0f152344e1 NEWS: Mention Inherit the Earth looping music fix


Commit: 0f152344e11d9435bdbc2d3138c1400c50654f18
    https://github.com/scummvm/scummvm/commit/0f152344e11d9435bdbc2d3138c1400c50654f18
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-11-10T20:51:43+01:00

Commit Message:
NEWS: Mention Inherit the Earth looping music fix

Changed paths:
    NEWS.md
    engines/prince/mob.cpp


diff --git a/NEWS.md b/NEWS.md
index 9cccb03119..0da12d7fe0 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -140,6 +140,7 @@ For a more comprehensive changelog of the latest experimental code, see:
  SAGA:
    - Added support for ITE GOG Mac CD v1.1.
    - Added support for ITE PC-98 Japanese.
+   - Fixed digitized music not looping in Inherit the Earth.
 
  SCI:
    - Added RGB rendering mode (16/32bpp) for SCI0 - SCI1.1 games, which addresses palette
diff --git a/engines/prince/mob.cpp b/engines/prince/mob.cpp
index 5a369aa337..9c83741b08 100644
--- a/engines/prince/mob.cpp
+++ b/engines/prince/mob.cpp
@@ -62,6 +62,8 @@ bool Mob::loadFromStream(Common::SeekableReadStream &stream) {
 	while ((c = stream.readByte()))
 		_name += c;
 
+	debug("_name: %s", _name.c_str());
+
 	stream.seek(examTextOffset);
 	_examText.clear();
 	c = stream.readByte();
@@ -69,6 +71,7 @@ bool Mob::loadFromStream(Common::SeekableReadStream &stream) {
 		_examText += c;
 		do {
 			c = stream.readByte();
+			debug("%d (%c)", c, (c >= 32 && c < 255) ? c : '.');
 			_examText += c;
 		} while (c != 255);
 	}




More information about the Scummvm-git-logs mailing list