parent
9f33b3abbe
commit
ca69882256
2 changed files with 110 additions and 21 deletions
|
@ -307,7 +307,10 @@ void ScummEngine::CHARSET_1() {
|
|||
_charset->_left = _charset->_nextLeft;
|
||||
_charset->_top = _charset->_nextTop;
|
||||
if (c & 0x80 && _CJKMode)
|
||||
c += *buffer++ * 256;
|
||||
if(_language == 6 && ((c > 0x84 && c < 0x88) || (c > 0x9f && c < 0xe0) || (c > 0xea && c <= 0xff)))
|
||||
c = 0x20; //not in S-JIS
|
||||
else
|
||||
c += *buffer++ * 256;
|
||||
if (_version <= 3) {
|
||||
_charset->printChar(c);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue