aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorTravis Howell2003-08-05 12:43:03 +0000
committerTravis Howell2003-08-05 12:43:03 +0000
commit318a6dc4083ad0b749c16eed25a2522a620d1ab6 (patch)
treef53d789e53259c4734ecc493cef969406696e1b5 /backends
parentfb761bd894515cbb13140bb846ff38d9e5ec44c1 (diff)
downloadscummvm-rg350-318a6dc4083ad0b749c16eed25a2522a620d1ab6.tar.gz
scummvm-rg350-318a6dc4083ad0b749c16eed25a2522a620d1ab6.tar.bz2
scummvm-rg350-318a6dc4083ad0b749c16eed25a2522a620d1ab6.zip
Rvert this non-smallheader adlib change
svn-id: r9491
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/adlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp
index 43ab7dec73..dcb2d2650c 100644
--- a/backends/midi/adlib.cpp
+++ b/backends/midi/adlib.cpp
@@ -1412,7 +1412,7 @@ void MidiDriver_ADLIB::adlib_setup_channel(int chan, AdlibInstrument *instr, byt
port = channel_mappings_2[chan];
adlib_write(port + 0x20, instr->flags_2);
if (!_game_SmallHeader)
- adlib_write(port + 0x40, (instr->oplvl_1 | 0x3F) - vol_1 );
+ adlib_write(port + 0x40, (instr->oplvl_2 | 0x3F) - vol_2 );
else
adlib_write(port + 0x40, instr->oplvl_2 );
adlib_write(port + 0x60, 0xff & (~instr->atdec_2));