aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-30 23:13:49 +0000
committerMartin Kiewitz2009-12-30 23:13:49 +0000
commitc27c9a84c28f324fae34d5e36984955060835070 (patch)
tree77bab29305008dd163e0dece9cf763d48c1b51ca /engines/sci/sfx
parentf31c452a5fc2e3da5c590d437b9a72362b55307c (diff)
downloadscummvm-rg350-c27c9a84c28f324fae34d5e36984955060835070.tar.gz
scummvm-rg350-c27c9a84c28f324fae34d5e36984955060835070.tar.bz2
scummvm-rg350-c27c9a84c28f324fae34d5e36984955060835070.zip
SCI/newmusic: cmdSendMidi / removed weird midiCmd code - fixes lsl5 des revers records piano session
svn-id: r46783
Diffstat (limited to 'engines/sci/sfx')
-rw-r--r--engines/sci/sfx/soundcmd.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp
index 43f6d762df..9c8845a311 100644
--- a/engines/sci/sfx/soundcmd.cpp
+++ b/engines/sci/sfx/soundcmd.cpp
@@ -220,9 +220,7 @@ reg_t SoundCommandParser::parseCommand(int argc, reg_t *argv, reg_t acc) {
if (argc == 6) { // cmdSendMidi
byte channel = argv[2].toUint16() & 0xf;
- byte midiCmd = argv[3].toUint16() == 0xff ?
- 0xe0 : /* Pitch wheel */
- 0xb0; /* argv[3].toUint16() is actually a controller number */
+ byte midiCmd = argv[3].toUint16() & 0xff;
uint16 controller = argv[4].toUint16();
uint16 param = argv[5].toUint16();