[Scummvm-git-logs] scummvm master -> 6def1be255cae1716864ce3870129bcdf6609bfb

bluegr noreply at scummvm.org
Sun Nov 10 07:15:15 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:
6def1be255 AGI: PREAGI: Handle carriage return characters


Commit: 6def1be255cae1716864ce3870129bcdf6609bfb
    https://github.com/scummvm/scummvm/commit/6def1be255cae1716864ce3870129bcdf6609bfb
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-11-10T09:15:12+02:00

Commit Message:
AGI: PREAGI: Handle carriage return characters

Fixes Winnie the Pooh messages

Changed paths:
    engines/agi/preagi/preagi.cpp


diff --git a/engines/agi/preagi/preagi.cpp b/engines/agi/preagi/preagi.cpp
index baaacd2aed1..91816342623 100644
--- a/engines/agi/preagi/preagi.cpp
+++ b/engines/agi/preagi/preagi.cpp
@@ -112,6 +112,7 @@ void PreAgiEngine::drawStr(int row, int col, int attr, const char *buffer) {
 
 		switch (code) {
 		case '\n':
+		case '\r': // winnie
 		case 0x8D:
 			if (++row == 200 / 8) return;
 			col = 0;




More information about the Scummvm-git-logs mailing list