aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/resource.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index b73b14b125..8d2723153d 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1926,7 +1926,11 @@ int ResourceManager::readResourceMapSCI1(ResourceSource *map) {
volumeName = "RESAUD.001";
}
} else if (resId.getNumber() == 65535) {
- volumeName = Common::String::format("RESSFX.%03d", mapVolumeNr);
+ if (g_sci->getGameId() == GID_RAMA && Common::File::exists("RESOURCE.SFX")) {
+ volumeName = "RESOURCE.SFX";
+ } else {
+ volumeName = Common::String::format("RESSFX.%03d", mapVolumeNr);
+ }
} else {
volumeName = Common::String::format("RESAUD.%03d", mapVolumeNr);
}