DIRECTOR: Allow punycode in the detection entries

This commit is contained in:
Eugene Sandulenko 2021-07-27 23:45:12 +02:00
parent 2760b9f737
commit 9f1f955f2a
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -62,7 +62,7 @@ Common::String DirectorEngine::getEXEName() const {
if (startMovie.startMovie.size() > 0)
return startMovie.startMovie;
return _gameDescription->desc.filesDescriptions[0].fileName;
return Common::punycode_decodefilename(_gameDescription->desc.filesDescriptions[0].fileName);
}
StartMovie DirectorEngine::getStartMovie() const {