diff options
author | Paul Gilbert | 2009-06-22 06:17:50 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-06-22 06:17:50 +0000 |
commit | 8dfbd0f845689a092615352b157a85bb779a3f1e (patch) | |
tree | aa8b9b3ec578a52ca0bf702b0ff3788a55c1a429 /engines/cruise/sound.cpp | |
parent | 4c01d4a954efeedc8aedade64b92f80f8af547e5 (diff) | |
download | scummvm-rg350-8dfbd0f845689a092615352b157a85bb779a3f1e.tar.gz scummvm-rg350-8dfbd0f845689a092615352b157a85bb779a3f1e.tar.bz2 scummvm-rg350-8dfbd0f845689a092615352b157a85bb779a3f1e.zip |
Implemented the Op_SetVolume method like the original, which simply set a dummy variable and never actually changed the volume
svn-id: r41748
Diffstat (limited to 'engines/cruise/sound.cpp')
-rw-r--r-- | engines/cruise/sound.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/cruise/sound.cpp b/engines/cruise/sound.cpp index db8dc67e5a..64f628601a 100644 --- a/engines/cruise/sound.cpp +++ b/engines/cruise/sound.cpp @@ -814,15 +814,6 @@ void PCSound::startNote(int channel, int volume, int freq) { _soundDriver->setChannelFrequency(channel, freq); } -void PCSound::setVolume(int volume) { - warning("TODO: setVolume"); -} - -uint8 PCSound::getVolume() { - warning("TODO: getVolume"); - return 63; -} - void PCSound::startSound(int channelNum, const byte *ptr, int size, int speed, int volume, bool loop) { warning("TODO: validate startSound"); playSound(channelNum, speed, ptr, size, 0, 0, volume, loop); |