Add mapping of TM and (C) characters in PCE version of Loom, based on information from Tobias.
svn-id: r46083
This commit is contained in:
parent
40504d7810
commit
7b4771bd9f
1 changed files with 15 additions and 0 deletions
|
@ -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++];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue