mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
MOHAWK: Fix game "Just Grandma and Me" german and french version crash
The german and french version of "Just Grandma and Me" (Mohawk engine) have the special characters "ç" and "ö" in their config files. This causes ScummVM to crash when trying to start the game in german or french. Allowing non english chars in config files for Living Books games fixes this issue.
This commit is contained in:
parent
29cfa7bb0f
commit
3530eae6f1
@ -298,6 +298,7 @@ void MohawkEngine_LivingBooks::pauseEngineIntern(bool pause) {
|
||||
}
|
||||
|
||||
void MohawkEngine_LivingBooks::loadBookInfo(const Common::String &filename) {
|
||||
_bookInfoFile.allowNonEnglishCharacters();
|
||||
if (!_bookInfoFile.loadFromFile(filename))
|
||||
error("Could not open %s as a config file", filename.c_str());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user