mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-07 11:27:44 +00:00
ZVISION: Ignore the special 0xCCCC character in subtitles
This seems to be used as a newline character
This commit is contained in:
parent
7827dbd354
commit
6a53c7cac1
@ -495,7 +495,7 @@ Common::String readWideLine(Common::SeekableReadStream &stream) {
|
||||
} else if (value >= 0x80 && value < 0x800) {
|
||||
asciiString += (char)(0xC0 | ((value >> 6) & 0x1F));
|
||||
asciiString += (char)(0x80 | (value & 0x3F));
|
||||
} else if (value >= 0x800 && value < 0x10000) {
|
||||
} else if (value >= 0x800 && value < 0x10000 && value != 0xCCCC) {
|
||||
asciiString += (char)(0xE0 | ((value >> 12) & 0xF));
|
||||
asciiString += (char)(0x80 | ((value >> 6) & 0x3F));
|
||||
asciiString += (char)(0x80 | (value & 0x3F));
|
||||
|
Loading…
x
Reference in New Issue
Block a user