TOLTECS: Fixed music looping
This commit is contained in:
parent
14cbfd4607
commit
1bddee1e73
3 changed files with 5 additions and 10 deletions
|
@ -1050,8 +1050,8 @@ void ScriptInterpreter::sfStartSequence() {
|
|||
_vm->_arc->closeResource();
|
||||
|
||||
if (!memcmp(data, "FORM", 4)) {
|
||||
// TODO: Looping flag
|
||||
_vm->_musicPlayer->playMIDI(data, resourceSize);
|
||||
// TODO: It seems that music is always looping?
|
||||
_vm->_musicPlayer->playMIDI(data, resourceSize, true);
|
||||
} else {
|
||||
// TODO: Where does this occur? Are these SMF MIDI files?
|
||||
warning("sfStartSequence: resource %d isn't XMIDI", sequenceResIndex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue