aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
authorJamieson Christian2002-12-05 21:45:55 +0000
committerJamieson Christian2002-12-05 21:45:55 +0000
commit50b69cb2dbbffb0e067416aa7aca84833381b1a7 (patch)
treeaf92da7cf5eedafae1f15cf0be1c4745ee13bf9f /scumm/resource.cpp
parent632f44a1a41a9da360dd1cac3e8cb3ff315527ca (diff)
downloadscummvm-rg350-50b69cb2dbbffb0e067416aa7aca84833381b1a7.tar.gz
scummvm-rg350-50b69cb2dbbffb0e067416aa7aca84833381b1a7.tar.bz2
scummvm-rg350-50b69cb2dbbffb0e067416aa7aca84833381b1a7.zip
Fixed inappropriate expiration of sound resources,
which fixes concurrency issues esp. in PocketPC and MorphOS. Stubbed SysEx command 2 (start of song) to get rid of annoying warning. Changed MT-32 instrument warnings to fit on one (80-char) line. svn-id: r5842
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index a2630fbf09..7129547c98 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -1356,7 +1356,7 @@ bool Scumm::isResourceInUse(int type, int i)
case rtCostume:
return isCostumeInUse(i);
case rtSound:
- return _sound->isSoundRunning(i) != 0;
+ return _sound->isSoundActive(i);
default:
return false;
}