SCUMM: Decode resource strings using CP866 for Russian translations

This commit is contained in:
Vladimir Serbinenko 2020-11-15 23:23:56 +01:00 committed by Eugene Sandulenko
parent 34de19d704
commit 0d521a12b8

View File

@ -473,6 +473,8 @@ const Common::U32String InfoDialog::queryResString(int stringno) {
convertFromCodePage = Common::kWindows932;
else if (_vm->_language == Common::ZH_TWN || _vm->_language == Common::ZH_CNA)
convertFromCodePage = Common::kWindows950;
else if (_vm->_language == Common::RU_RUS)
convertFromCodePage = Common::kDos866;
return convertFromCodePage == Common::kCodePageInvalid ? _(tmp) : U32String(tmp, convertFromCodePage);
}