aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/event.cpp
diff options
context:
space:
mode:
authorTravis Howell2007-02-16 13:55:01 +0000
committerTravis Howell2007-02-16 13:55:01 +0000
commite3594a6839682e8157bd29af5da9c0a26ead764c (patch)
treef00f87af3888edd3387b42b5071f10b2754481b5 /engines/agos/event.cpp
parentcfc3d0a8ed53091d264c552403b0473de3359c2d (diff)
downloadscummvm-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.cpp6
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)