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

@ -2156,19 +2156,8 @@ void ScummEngine_v72he::o72_writeINI() {
}
void ScummEngine_v72he::o72_getResourceSize() {
int resid, size;
resid = pop();
if (resid > _numSounds) {
int offs;
_sound->getHEMusicDetails(resid, offs, size);
push(size);
} else {
const byte *ptr = getResourceAddress(rtSound, resid);
assert(ptr);
size = READ_BE_UINT32(ptr + 4) - 40;
push(size);
}
int resid = pop();
push(getSoundResourceSize(resid));
}
void ScummEngine_v72he::o72_setFilePath() {