[Scummvm-git-logs] scummvm master -> d16a52c5a2e4abe14eb2a2fd0836fbb2c957e90b
neuromancer
noreply at scummvm.org
Sun Oct 4 14:06:39 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
d16a52c5a2 EEM: correctly load sitepals data from DOS
Commit: d16a52c5a2e4abe14eb2a2fd0836fbb2c957e90b
https://github.com/scummvm/scummvm/commit/d16a52c5a2e4abe14eb2a2fd0836fbb2c957e90b
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-10-04T16:05:00+02:00
Commit Message:
EEM: correctly load sitepals data from DOS
Changed paths:
engines/eem/eem.cpp
diff --git a/engines/eem/eem.cpp b/engines/eem/eem.cpp
index 4dc423d9866..dad7e3c1dcf 100644
--- a/engines/eem/eem.cpp
+++ b/engines/eem/eem.cpp
@@ -1004,10 +1004,10 @@ bool EEMEngine::openArchives() {
bool EEMEngine::loadSitePalettes() {
Common::File f;
- // EEM2 DOS uses "SITEPALS." (8.3); EEM1 and both Mac releases use "SITEPALS".
- const char *palFile = (isLondon() && !isMacintosh()) ? "SITEPALS." : "SITEPALS";
- if (!openDataFile(f, Common::Path(palFile))) {
- warning("%s missing", palFile);
+ // Also accept the trailing dot found in some DOS EEM2 game data.
+ if (!openDataFile(f, Common::Path("SITEPALS")) &&
+ !openDataFile(f, Common::Path("SITEPALS."))) {
+ warning("SITEPALS missing");
return false;
}
_sitePals.resize(f.size());
More information about the Scummvm-git-logs
mailing list