diff options
Diffstat (limited to 'engines/scumm/imuse/sysex_scumm.cpp')
-rw-r--r-- | engines/scumm/imuse/sysex_scumm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/imuse/sysex_scumm.cpp b/engines/scumm/imuse/sysex_scumm.cpp index 4d51cc4fba..7a79278eb0 100644 --- a/engines/scumm/imuse/sysex_scumm.cpp +++ b/engines/scumm/imuse/sysex_scumm.cpp @@ -45,7 +45,8 @@ void sysexHandler_Scumm (Player *player, const byte *msg, uint16 len) { IMuseInternal *se = player->_se; const byte *p = msg; - switch (byte code = *p++) { + byte code = 0; + switch (code = *p++) { case 0: // Allocate new part. // There are 17 bytes of useful information here. |