PRINCE: Sounds and voices - fix and update

This commit is contained in:
lukaslw 2014-07-26 05:33:33 +02:00
parent 687a168747
commit 97d10f94ec
4 changed files with 54 additions and 31 deletions

View file

@ -548,10 +548,10 @@ void Interpreter::O_SETSAMPLE() {
debugInterpreter("O_SETSAMPLE %d %s", sampleId, sampleName);
}
// TODO
void Interpreter::O_FREESAMPLE() {
uint16 sample = readScriptFlagValue();
debugInterpreter("O_FREESAMPLE %d", sample);
uint16 sampleId = readScriptFlagValue();
_vm->freeSample(sampleId);
debugInterpreter("O_FREESAMPLE sampleId: %d", sampleId);
}
void Interpreter::O_PLAYSAMPLE() {