Add support for using soundtrack from the Simon the Sorcerer 1 - Music Enhancement Project.

svn-id: r25632
This commit is contained in:
Travis Howell 2007-02-16 13:55:01 +00:00
parent cfc3d0a8ed
commit e3594a6839
3 changed files with 48 additions and 25 deletions

View file

@ -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)