diff options
author | Nicolas Bacca | 2002-04-17 20:23:45 +0000 |
---|---|---|
committer | Nicolas Bacca | 2002-04-17 20:23:45 +0000 |
commit | bb06400d007d0056434fe4a0076e8dacfcd26aec (patch) | |
tree | e44c70f1736da47d2f2ff6b39788f1b7b06f2603 /script_v1.cpp | |
parent | fd6a44e7c52548f0374752071841f696ca5ae0d9 (diff) | |
download | scummvm-rg350-bb06400d007d0056434fe4a0076e8dacfcd26aec.tar.gz scummvm-rg350-bb06400d007d0056434fe4a0076e8dacfcd26aec.tar.bz2 scummvm-rg350-bb06400d007d0056434fe4a0076e8dacfcd26aec.zip |
Return of the MP3 CD patch ... use CBR 22 kHz
svn-id: r3981
Diffstat (limited to 'script_v1.cpp')
-rw-r--r-- | script_v1.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/script_v1.cpp b/script_v1.cpp index 88c5f5e1b2..500dd35fd3 100644 --- a/script_v1.cpp +++ b/script_v1.cpp @@ -2672,8 +2672,14 @@ void Scumm::decodeParseString() else offset = 0; delay = (int)((getVarOrDirectWord(0x40) & 0xffff) * 7.5); - if (_gameId == GID_LOOM256) + if (_gameId == GID_LOOM256) { + _vars[VAR_MUSIC_FLAG] = 0; +#ifdef COMPRESSED_SOUND_FILE + playMP3CDTrack(1, 0, offset, delay); +#else _system->play_cdrom(1, 0, offset, delay); +#endif + } else warning("parseString: 8"); } |