aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2009-06-20 10:52:55 +0000
committerGregory Montoir2009-06-20 10:52:55 +0000
commit1da48cfd552556c9e8b4eeef20fa43bdb7994063 (patch)
tree55641e0cab046009fe81e29ae8c4a05789a6b070
parent31ace2c66cba4e2e689daef8fb28fc8f3ab0b14e (diff)
downloadscummvm-rg350-1da48cfd552556c9e8b4eeef20fa43bdb7994063.tar.gz
scummvm-rg350-1da48cfd552556c9e8b4eeef20fa43bdb7994063.tar.bz2
scummvm-rg350-1da48cfd552556c9e8b4eeef20fa43bdb7994063.zip
fixed OPL 0xB0 register write. the return value of findNote() already includes the octave, no need to readd it.
svn-id: r41704
-rw-r--r--engines/cine/sound.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/cine/sound.cpp b/engines/cine/sound.cpp
index 164c5a9ca5..65b384ac7d 100644
--- a/engines/cine/sound.cpp
+++ b/engines/cine/sound.cpp
@@ -507,8 +507,6 @@ void AdlibSoundDriverADL::setChannelFrequency(int channel, int frequency) {
}
int freq, note, oct;
findNote(frequency, &note, &oct);
-
- note += oct * 12;
if (ins->amDepth) {
note = ins->amDepth;
}