diff options
author | Travis Howell | 2006-02-04 21:55:37 +0000 |
---|---|---|
committer | Travis Howell | 2006-02-04 21:55:37 +0000 |
commit | 76562c281d51790bb21b4288717c95735a7393a3 (patch) | |
tree | 95922861e5379f37511880258654aff6d4800478 | |
parent | 6277598a2d56bc6d1da713039704a8cd3cb41a78 (diff) | |
download | scummvm-rg350-76562c281d51790bb21b4288717c95735a7393a3.tar.gz scummvm-rg350-76562c281d51790bb21b4288717c95735a7393a3.tar.bz2 scummvm-rg350-76562c281d51790bb21b4288717c95735a7393a3.zip |
Fix DISABLE_SCUMM_7_8 compile.
svn-id: r20375
-rw-r--r-- | scumm/script.cpp | 2 | ||||
-rw-r--r-- | scumm/scumm.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index 06fc03dbfe..fd170e02b7 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -465,9 +465,11 @@ void ScummEngine::executeScript() { printf("\n"); } +#ifndef DISABLE_SCUMM_7_8 if (_imuseDigital) { _imuseDigital->callback(); } +#endif executeOpcode(_opcode); diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 861be2cba9..c0e9d0acd2 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -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) |