mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 15:21:40 +00:00
SCUMM: Decode resource strings using CP866 for Russian translations
This commit is contained in:
parent
34de19d704
commit
0d521a12b8
@ -473,6 +473,8 @@ const Common::U32String InfoDialog::queryResString(int stringno) {
|
|||||||
convertFromCodePage = Common::kWindows932;
|
convertFromCodePage = Common::kWindows932;
|
||||||
else if (_vm->_language == Common::ZH_TWN || _vm->_language == Common::ZH_CNA)
|
else if (_vm->_language == Common::ZH_TWN || _vm->_language == Common::ZH_CNA)
|
||||||
convertFromCodePage = Common::kWindows950;
|
convertFromCodePage = Common::kWindows950;
|
||||||
|
else if (_vm->_language == Common::RU_RUS)
|
||||||
|
convertFromCodePage = Common::kDos866;
|
||||||
|
|
||||||
return convertFromCodePage == Common::kCodePageInvalid ? _(tmp) : U32String(tmp, convertFromCodePage);
|
return convertFromCodePage == Common::kCodePageInvalid ? _(tmp) : U32String(tmp, convertFromCodePage);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user