aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-03-17 04:07:02 +0000
committerTravis Howell2009-03-17 04:07:02 +0000
commit2e321f81ed11b647e7caebf9111d7437c72f8bd1 (patch)
tree81dd977aaf01039cc7e9ffa29aeb7265f7319136
parent7d1aed7c83fb8e83fbd0dcb05a6446be881110ad (diff)
downloadscummvm-rg350-2e321f81ed11b647e7caebf9111d7437c72f8bd1.tar.gz
scummvm-rg350-2e321f81ed11b647e7caebf9111d7437c72f8bd1.tar.bz2
scummvm-rg350-2e321f81ed11b647e7caebf9111d7437c72f8bd1.zip
Sound files don't always exist in the Amiga version of BRA.
svn-id: r39468
-rw-r--r--engines/parallaction/disk_br.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp
index 38ff0995d2..7131596fb8 100644
--- a/engines/parallaction/disk_br.cpp
+++ b/engines/parallaction/disk_br.cpp
@@ -652,7 +652,7 @@ Common::SeekableReadStream* AmigaDisk_br::loadMusic(const char* name) {
Common::ReadStream* AmigaDisk_br::loadSound(const char* name) {
debugC(5, kDebugDisk, "AmigaDisk_br::loadSound");
- return openFile("sfx/" + Common::String(name), ".sfx");
+ return tryOpenFile("sfx/" + Common::String(name), ".sfx");
}
static const uint16 objectsMax[5] = {