mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
Clarifying the language fallback warnings
svn-id: r28238
This commit is contained in:
parent
d8e4d70b67
commit
e22e47c398
@ -121,9 +121,16 @@ void GobEngine::shutdown() {
|
||||
|
||||
void GobEngine::validateLanguage() {
|
||||
if (_vm->_global->_languageWanted != _vm->_global->_language) {
|
||||
warning("Your game version doesn't support the requested language");
|
||||
warning("Using the first language available: %s",
|
||||
getLangDesc(_vm->_global->_language));
|
||||
warning("Your game version doesn't support the requested language %s",
|
||||
getLangDesc(_vm->_global->_languageWanted));
|
||||
|
||||
if (((_vm->_global->_languageWanted == 2) && (_vm->_global->_language == 5)) ||
|
||||
((_vm->_global->_languageWanted == 5) && (_vm->_global->_language == 2)))
|
||||
warning("Using %s instead", getLangDesc(_vm->_global->_language));
|
||||
else
|
||||
warning("Using the first language available: %s",
|
||||
getLangDesc(_vm->_global->_language));
|
||||
|
||||
_vm->_global->_languageWanted = _vm->_global->_language;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user