fm towns cd audio fix from Hibernatus

svn-id: r9141
This commit is contained in:
Travis Howell 2003-07-23 05:17:21 +00:00
parent 88cf307273
commit 13dae9b394
3 changed files with 6 additions and 2 deletions

View file

@ -106,6 +106,10 @@ OSystem_SDL_Common::OSystem_SDL_Common()
// reset mouse state
memset(&km, 0, sizeof(km));
cd_end_time = 0;
cd_num_loops = 0;
cd_duration = 0;
cd_stop_time = 0;
}
OSystem_SDL_Common::~OSystem_SDL_Common() {

View file

@ -2044,7 +2044,7 @@ void Scumm_v5::o5_startMusic() {
break;
}
warning("unknown: o5_startMusic(%d)", b);
setResult(0);
setResult(result);
} else {
_sound->addSoundToQueue(getVarOrDirectByte(0x80));
}

View file

@ -470,7 +470,7 @@ void Sound::playSound(int soundID) {
}
if (_scumm->_gameId == GID_LOOM && (READ_LE_UINT16(ptr + 4) == 'so')) {
if (_scumm->_gameId == GID_LOOM) {
// Mac version of Loom uses yet another sound format
/*
playSound #9 (room 70)