diff options
author | Travis Howell | 2007-02-16 13:55:01 +0000 |
---|---|---|
committer | Travis Howell | 2007-02-16 13:55:01 +0000 |
commit | e3594a6839682e8157bd29af5da9c0a26ead764c (patch) | |
tree | f00f87af3888edd3387b42b5071f10b2754481b5 /engines/agos/event.cpp | |
parent | cfc3d0a8ed53091d264c552403b0473de3359c2d (diff) | |
download | scummvm-rg350-e3594a6839682e8157bd29af5da9c0a26ead764c.tar.gz scummvm-rg350-e3594a6839682e8157bd29af5da9c0a26ead764c.tar.bz2 scummvm-rg350-e3594a6839682e8157bd29af5da9c0a26ead764c.zip |
Add support for using soundtrack from the Simon the Sorcerer 1 - Music Enhancement Project.
svn-id: r25632
Diffstat (limited to 'engines/agos/event.cpp')
-rw-r--r-- | engines/agos/event.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp index 37a72db995..8ffd6390f9 100644 --- a/engines/agos/event.cpp +++ b/engines/agos/event.cpp @@ -31,6 +31,8 @@ #include "gui/about.h" +#include "sound/audiocd.h" + namespace AGOS { void AGOSEngine::addTimeEvent(uint timeout, uint subroutine_id) { @@ -302,6 +304,8 @@ void AGOSEngine::delay(uint amount) { uint32 cur = start; uint this_delay, vga_period; + AudioCD.updateCD(); + if (_debugger->isAttached()) _debugger->onFrame(); @@ -415,6 +419,8 @@ void AGOSEngine::delay(uint amount) { if (_leftButton == 1) _leftButtonCount++; + AudioCD.updateCD(); + _system->updateScreen(); if (amount == 0) |