diff options
author | Torbjörn Andersson | 2005-02-07 10:51:48 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-02-07 10:51:48 +0000 |
commit | 00670e2c23e2a7e4b59f32152ebb9441089e0d47 (patch) | |
tree | efb20d8392da4e52621f81ae6ee26e78a58c9590 /sword2/sound.h | |
parent | cda823ea63243df943daac5b2ee35e86fe43856c (diff) | |
download | scummvm-rg350-00670e2c23e2a7e4b59f32152ebb9441089e0d47.tar.gz scummvm-rg350-00670e2c23e2a7e4b59f32152ebb9441089e0d47.tar.bz2 scummvm-rg350-00670e2c23e2a7e4b59f32152ebb9441089e0d47.zip |
Fixed crash that would happen if the game tried to play music from CD1 and
CD2 at the same time. There will eventually be a better fix for this, I
hope.
svn-id: r16750
Diffstat (limited to 'sword2/sound.h')
-rw-r--r-- | sword2/sound.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sword2/sound.h b/sword2/sound.h index 9eeda246b5..f38c106d8d 100644 --- a/sword2/sound.h +++ b/sword2/sound.h @@ -126,6 +126,8 @@ public: bool isStereo() const { return _decoder->isStereo(); } int getRate() const { return _decoder->getRate(); } + int whichCd() { return _cd; } + void fadeUp(); void fadeDown(); |