From 7aeeeabba9de168e76ae4d82b7f033fc877d0671 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 23 Dec 2014 01:57:37 +0200 Subject: ZVISION: Add a comment about the special 0xCCCC character --- engines/zvision/text/text.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') diff --git a/engines/zvision/text/text.cpp b/engines/zvision/text/text.cpp index 91a06883b6..d1dc784f3e 100644 --- a/engines/zvision/text/text.cpp +++ b/engines/zvision/text/text.cpp @@ -499,6 +499,8 @@ Common::String readWideLine(Common::SeekableReadStream &stream) { asciiString += (char)(0xE0 | ((value >> 12) & 0xF)); asciiString += (char)(0x80 | ((value >> 6) & 0x3F)); asciiString += (char)(0x80 | (value & 0x3F)); + } else if (value == 0xCCCC) { + // Ignore, this character is used as newline sometimes } else if (value >= 0x10000 && value < 0x200000) { asciiString += (char)(0xF0); asciiString += (char)(0x80 | ((value >> 12) & 0x3F)); -- cgit v1.2.3