[Scummvm-git-logs] scummvm master -> 4f575b80780ae89fc77f2a454024f7a3440c9068
sev-
noreply at scummvm.org
Tue May 2 10:56:24 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4f575b8078 SCUMM: Fix detection of Chinese Full Throttle
Commit: 4f575b80780ae89fc77f2a454024f7a3440c9068
https://github.com/scummvm/scummvm/commit/4f575b80780ae89fc77f2a454024f7a3440c9068
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-05-02T12:56:18+02:00
Commit Message:
SCUMM: Fix detection of Chinese Full Throttle
Chinese Full Throttle puts the font in video directory. ScummVM accepts it there
in the game but not in the detection. So user needs to select language
manually in order for it to work. Check the second location as well
Changed paths:
engines/scumm/detection_internal.h
diff --git a/engines/scumm/detection_internal.h b/engines/scumm/detection_internal.h
index e009144ee8b..24e8959da0b 100644
--- a/engines/scumm/detection_internal.h
+++ b/engines/scumm/detection_internal.h
@@ -216,7 +216,7 @@ static Common::Language detectLanguage(const Common::FSList &fslist, byte id, co
// First try to detect Chinese translation.
Common::FSNode fontFile;
- if (searchFSNode(fslist, "chinese_gb16x12.fnt", fontFile)) {
+ if (searchFSNode(fslist, "chinese_gb16x12.fnt", fontFile) || (searchFSNode(fslist, "video", fontFile) && fontFile.getChild("chinese_gb16x12.fnt").exists())) {
debugC(0, kDebugGlobalDetection, "Chinese detected");
return Common::ZH_CHN;
}
More information about the Scummvm-git-logs
mailing list