music support,
fixed timing bugs svn-id: r3491
This commit is contained in:
parent
279d5b2fd7
commit
b8d259d60e
18 changed files with 3298 additions and 376 deletions
|
@ -551,12 +551,12 @@ byte *Scumm::getResourceAddress(int type, int index) {
|
|||
ensureResourceLoaded(type, index);
|
||||
}
|
||||
|
||||
setResourceCounter(type, index, 1);
|
||||
|
||||
ptr=(byte*)res.address[type][index];
|
||||
if (!ptr)
|
||||
return NULL;
|
||||
|
||||
setResourceCounter(type, index, 1);
|
||||
|
||||
return ptr + sizeof(ResHeader);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue