aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/imuse
diff options
context:
space:
mode:
authorLars Persson2006-04-04 21:32:19 +0000
committerLars Persson2006-04-04 21:32:19 +0000
commit595a48a87e73db770057bf5ec5a9104582877e18 (patch)
tree02b7385228b5b24bc771bf496bb523642ab2e3eb /engines/scumm/imuse
parent935ed2dadb282cadf32b0f53285a5446ac10739d (diff)
downloadscummvm-rg350-595a48a87e73db770057bf5ec5a9104582877e18.tar.gz
scummvm-rg350-595a48a87e73db770057bf5ec5a9104582877e18.tar.bz2
scummvm-rg350-595a48a87e73db770057bf5ec5a9104582877e18.zip
Small updates to intiate variable and member visibility.
svn-id: r21604
Diffstat (limited to 'engines/scumm/imuse')
-rw-r--r--engines/scumm/imuse/sysex_scumm.cpp3
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.