diff options
Diffstat (limited to 'engines/scumm/string.cpp')
-rw-r--r-- | engines/scumm/string.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index 8d380511bd..a29d36e765 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -1031,6 +1031,21 @@ int ScummEngine::convertMessageToString(const byte *msg, byte *dst, int dstSize) chr = src[num++]; if (chr == 0) break; + + if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine) { + // Code for TM character + if (chr == 0x0F && src[num] == 0x20) { + *dst++ = 0x5D; + *dst++ = 0x5E; + continue; + // Code for (C) character + } else if (chr == 0x1C && src[num] == 0x20) { + *dst++ = 0x3E; + *dst++ = 0x2A; + continue; + } + } + if (chr == 0xFF) { chr = src[num++]; |