diff options
author | Travis Howell | 2005-04-18 07:18:33 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-18 07:18:33 +0000 |
commit | d4ba67a49793677a19680f72f9e7fb14fc6c747c (patch) | |
tree | d2ae230e59de767b4ae1a6388a16df8b21ca7044 /scumm/script_v100he.cpp | |
parent | 58966d6b90cf79ad7d6ed9ffb6e44eb74d38815f (diff) | |
download | scummvm-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_v100he.cpp')
-rw-r--r-- | scumm/script_v100he.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp index 893f7066af..9fd166246d 100644 --- a/scumm/script_v100he.cpp +++ b/scumm/script_v100he.cpp @@ -2211,7 +2211,9 @@ void ScummEngine_v100he::o100_getResourceSize() { break; case 72: if (resid > _numSounds) { - push(getMusicResourceSize(resid)); + int offs; + _sound->getHEMusicDetails(resid, offs, size); + push(size); return; } type = rtSound; |