now SmushPlayer is class created once same as SmushMixer while scumm engine creation. this allow finish play smush audio track finished to the end instead immediately stopped as it was happen before
svn-id: r24263
This commit is contained in:
parent
89f79acb84
commit
e85ab4b10f
8 changed files with 36 additions and 29 deletions
|
@ -1176,9 +1176,7 @@ void ScummEngine_v8::o8_systemOps() {
|
|||
void ScummEngine_v8::o8_startVideo() {
|
||||
int len = resStrLen(_scriptPointer);
|
||||
|
||||
SmushPlayer *sp = new SmushPlayer(this, 12);
|
||||
sp->play((const char*)_scriptPointer);
|
||||
delete sp;
|
||||
_splayer->play((const char*)_scriptPointer, 12);
|
||||
|
||||
_scriptPointer += len + 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue