Fix DISABLE_SCUMM_7_8 compile.

svn-id: r20375
This commit is contained in:
Travis Howell 2006-02-04 21:55:37 +00:00
parent 6277598a2d
commit 76562c281d
2 changed files with 4 additions and 0 deletions

View File

@ -465,9 +465,11 @@ void ScummEngine::executeScript() {
printf("\n");
}
#ifndef DISABLE_SCUMM_7_8
if (_imuseDigital) {
_imuseDigital->callback();
}
#endif
executeOpcode(_opcode);

View File

@ -2339,9 +2339,11 @@ void ScummEngine::waitForTimer(int msec_delay) {
start_time = _system->getMillis();
while (!_quit) {
#ifndef DISABLE_SCUMM_7_8
if (_imuseDigital) {
_imuseDigital->callback();
}
#endif
_sound->updateCD(); // Loop CD Audio if needed
parseEvents();
if (_system->getMillis() >= start_time + msec_delay)