aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/charset.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp
index df609eec75..7d115d4c4b 100644
--- a/engines/scumm/charset.cpp
+++ b/engines/scumm/charset.cpp
@@ -82,7 +82,7 @@ void ScummEngine::loadCJKFont() {
case Common::ZH_TWN:
if (_game.id == GID_CMI) {
fontFile = "chinese.fnt";
- numChar = 12779;
+ numChar = 13630;
}
break;
default:
@@ -105,7 +105,7 @@ void ScummEngine::loadCJKFont() {
break;
case Common::ZH_TWN:
_2byteWidth = 16;
- _2byteHeight = 16;
+ _2byteHeight = 15;
// 0xFE -> 0x21. also compared with 0x0d. perhaps a newline
break;
default:
@@ -244,11 +244,11 @@ byte *ScummEngine::get2byteCharPtr(int idx) {
high -= 0x62;
}
- base += (low * 157 + high) * 30;
+ base += (low * 0x9d + high) * 30;
}
}
- return _2byteFontPtr + base - 2;
+ return _2byteFontPtr + base;
break;
}
default: