[Scummvm-git-logs] scummvm master -> 9ee9fc19ae1a6a1f8263298094c45e245dc5e576

mduggan mgithub at guarana.org
Wed May 13 12:13:09 UTC 2020


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:
9ee9fc19ae TITANIC: Update readLine function signature


Commit: 9ee9fc19ae1a6a1f8263298094c45e245dc5e576
    https://github.com/scummvm/scummvm/commit/9ee9fc19ae1a6a1f8263298094c45e245dc5e576
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2020-05-13T21:12:59+09:00

Commit Message:
TITANIC: Update readLine function signature

Changed paths:
    engines/titanic/support/avi_surface.h


diff --git a/engines/titanic/support/avi_surface.h b/engines/titanic/support/avi_surface.h
index d824b4d750..aa23d60592 100644
--- a/engines/titanic/support/avi_surface.h
+++ b/engines/titanic/support/avi_surface.h
@@ -64,11 +64,11 @@ public:
 	bool skip(uint32 offset) override {
 		return _innerStream->skip(offset);
 	}
-	char *readLine(char *s, size_t bufSize) override {
-		return _innerStream->readLine(s, bufSize);
+	char *readLine(char *s, size_t bufSize, bool handleCR = true) override {
+		return _innerStream->readLine(s, bufSize, handleCR);
 	}
-	Common::String readLine() override {
-		return _innerStream->readLine();
+	Common::String readLine(bool handleCR = true) override {
+		return _innerStream->readLine(handleCR);
 	}
 };
 




More information about the Scummvm-git-logs mailing list