mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
SCI32: Fix extremely broken patch for RAMA RESOURCE.SFX
Obviously, games other than RAMA need to have sound effects volumes.
This commit is contained in:
parent
e4a1a0e980
commit
dc7e37fdb6
@ -1928,15 +1928,13 @@ int ResourceManager::readResourceMapSCI1(ResourceSource *map) {
|
||||
volumeName = "RESAUD.001";
|
||||
}
|
||||
} else if (resId.getNumber() == 65535) {
|
||||
if (g_sci->getGameId() == GID_RAMA) {
|
||||
volumeName = Common::String::format("RESSFX.%03d", mapVolumeNr);
|
||||
volumeName = Common::String::format("RESSFX.%03d", mapVolumeNr);
|
||||
|
||||
if (g_sci->getGameId() == GID_RAMA && !Common::File::exists(volumeName)) {
|
||||
if (Common::File::exists("RESOURCE.SFX")) {
|
||||
volumeName = "RESOURCE.SFX";
|
||||
} else if (Common::File::exists("RESSFX.001")) {
|
||||
volumeName = "RESSFX.001";
|
||||
}
|
||||
if (g_sci->getGameId() == GID_RAMA && !Common::File::exists(volumeName)) {
|
||||
if (Common::File::exists("RESOURCE.SFX")) {
|
||||
volumeName = "RESOURCE.SFX";
|
||||
} else if (Common::File::exists("RESSFX.001")) {
|
||||
volumeName = "RESSFX.001";
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user