Adjust again, for sound header differences.
svn-id: r17668
This commit is contained in:
parent
8d01148b79
commit
d391c2f837
5 changed files with 34 additions and 33 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue