Adjust again, for sound header differences.

svn-id: r17668
This commit is contained in:
Travis Howell 2005-04-18 11:44:01 +00:00
parent 8d01148b79
commit d391c2f837
5 changed files with 34 additions and 33 deletions

View file

@ -814,16 +814,7 @@ void ScummEngine_v80he::o80_getResourceSize() {
switch (subOp) {
case 13:
if (resid > _numSounds) {
int offs;
_sound->getHEMusicDetails(resid, offs, size);
push(size);
} else {
ptr = getResourceAddress(rtSound, resid);
assert(ptr);
size = READ_BE_UINT32(ptr + 4) - 40;
push(size);
}
push (getSoundResourceSize(resid));
return;
case 14:
type = rtRoomImage;