From d4ba67a49793677a19680f72f9e7fb14fc6c747c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 18 Apr 2005 07:18:33 +0000 Subject: 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 --- scumm/script_v72he.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scumm/script_v72he.cpp') 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; } -- cgit v1.2.3