aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorTravis Howell2010-09-14 00:47:26 +0000
committerTravis Howell2010-09-14 00:47:26 +0000
commitf7fa335a1b7aac3ae1688ece525d621dad72d400 (patch)
tree17762ec0e79872f2aea76b182f69a462ad1f6672 /engines/agi
parentefc13c42b29b79bc255ea22693aabe3920455566 (diff)
downloadscummvm-rg350-f7fa335a1b7aac3ae1688ece525d621dad72d400.tar.gz
scummvm-rg350-f7fa335a1b7aac3ae1688ece525d621dad72d400.tar.bz2
scummvm-rg350-f7fa335a1b7aac3ae1688ece525d621dad72d400.zip
AGI: Fix compilation.
svn-id: r52719
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/sound_midi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/sound_midi.cpp b/engines/agi/sound_midi.cpp
index 413c1ffa37..d2636727ee 100644
--- a/engines/agi/sound_midi.cpp
+++ b/engines/agi/sound_midi.cpp
@@ -75,7 +75,7 @@ SoundGenMIDI::SoundGenMIDI(AgiEngine *vm, Audio::Mixer *pMixer) : SoundGen(vm, p
_driver = MidiDriver::createMidi(dev);
if (ConfMan.getBool("native_mt32"))
- driver->property(MidiDriver::PROP_CHANNEL_MASK, 0x03FE);
+ _driver->property(MidiDriver::PROP_CHANNEL_MASK, 0x03FE);
memset(_channel, 0, sizeof(_channel));
memset(_channelVolume, 255, sizeof(_channelVolume));