mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 22:51:11 +00:00
Slighty modified patch #1661777: "SCUMM: allow non-english DIG and COMI
to be set to English" svn-id: r26559
This commit is contained in:
parent
28e721836a
commit
873efee47f
@ -1230,6 +1230,14 @@ void ScummEngine_v7::loadLanguageBundle() {
|
|||||||
ScummFile file;
|
ScummFile file;
|
||||||
int32 size;
|
int32 size;
|
||||||
|
|
||||||
|
// if game is manually set to English, don't try to load localized text
|
||||||
|
if ((_language == Common::EN_ANY) || (_language == Common::EN_USA) || (_language == Common::EN_GRB)) {
|
||||||
|
warning("Language file is forced to be ignored");
|
||||||
|
|
||||||
|
_existLanguageFile = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (_game.id == GID_DIG) {
|
if (_game.id == GID_DIG) {
|
||||||
openFile(file, "language.bnd");
|
openFile(file, "language.bnd");
|
||||||
} else if (_game.id == GID_CMI) {
|
} else if (_game.id == GID_CMI) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user