aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v72he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-04-18 07:18:33 +0000
committerTravis Howell2005-04-18 07:18:33 +0000
commitd4ba67a49793677a19680f72f9e7fb14fc6c747c (patch)
treed2ae230e59de767b4ae1a6388a16df8b21ca7044 /scumm/script_v72he.cpp
parent58966d6b90cf79ad7d6ed9ffb6e44eb74d38815f (diff)
downloadscummvm-rg350-d4ba67a49793677a19680f72f9e7fb14fc6c747c.tar.gz
scummvm-rg350-d4ba67a49793677a19680f72f9e7fb14fc6c747c.tar.bz2
scummvm-rg350-d4ba67a49793677a19680f72f9e7fb14fc6c747c.zip
Use correct music offsets for HE games, only a few demos use wrong tunes now.
Get all music details for HE games from one function only. svn-id: r17662
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r--scumm/script_v72he.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index 4c3e19b6c0..f69587084b 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -2160,7 +2160,9 @@ void ScummEngine_v72he::o72_getResourceSize() {
resid = pop();
if (resid > _numSounds) {
- push(getMusicResourceSize(resid));
+ int offs;
+ _sound->getHEMusicDetails(resid, offs, size);
+ push(size);
return;
}