diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/sound.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp index dd6ec69790..efffa70574 100644 --- a/engines/tsage/sound.cpp +++ b/engines/tsage/sound.cpp @@ -2825,8 +2825,6 @@ int AdlibSoundDriver::readBuffer(int16 *buffer, const int numSamples) { /*--------------------------------------------------------------------------*/ -const byte soundBlaster_group_data[] = { 3, 1, 1, 0, 0xff }; - SoundBlasterDriver::SoundBlasterDriver(): SoundDriver() { _minVersion = 0x102; @@ -2836,7 +2834,8 @@ SoundBlasterDriver::SoundBlasterDriver(): SoundDriver() { _groupData.groupMask = 1; _groupData.v1 = 0x3E; _groupData.v2 = 0; - _groupData.pData = &soundBlaster_group_data[0]; + static byte const group_data[] = { 3, 1, 1, 0, 0xff }; + _groupData.pData = group_data; _mixer = _vm->_mixer; _sampleRate = _mixer->getOutputRate(); |