diff options
author | Walter van Niftrik | 2015-03-25 11:58:22 +0100 |
---|---|---|
committer | Matthew Hoops | 2015-07-07 20:19:48 -0400 |
commit | be345083a03a110d9f6ebc9310152bf079dfab7e (patch) | |
tree | 757e709dc0f88d8835ed1c100cd110acdc7aa9a6 | |
parent | 56c0238f9bc5f013cae0d487ef88dae3c29f6305 (diff) | |
download | scummvm-rg350-be345083a03a110d9f6ebc9310152bf079dfab7e.tar.gz scummvm-rg350-be345083a03a110d9f6ebc9310152bf079dfab7e.tar.bz2 scummvm-rg350-be345083a03a110d9f6ebc9310152bf079dfab7e.zip |
AUDIO: Update 2nd operator panning for AdLib register 0xc0
-rw-r--r-- | audio/softsynth/opl/alsa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/softsynth/opl/alsa.cpp b/audio/softsynth/opl/alsa.cpp index 8fea0fd021..934fb34aab 100644 --- a/audio/softsynth/opl/alsa.cpp +++ b/audio/softsynth/opl/alsa.cpp @@ -323,8 +323,8 @@ void OPL::writeOplReg(int c, int r, int v) { _oper[opIdx].connection = _oper[opIdx + 3].connection = v & 0x1; _oper[opIdx].feedback = _oper[opIdx + 3].feedback = (v >> 1) & 0x7; if (_type == Config::kOpl3) { - _oper[opIdx].left = (v >> 4) & 0x1; - _oper[opIdx].right = (v >> 5) & 0x1; + _oper[opIdx].left = _oper[opIdx + 3].left = (v >> 4) & 0x1; + _oper[opIdx].right = _oper[opIdx + 3].right = (v >> 5) & 0x1; } snd_hwdep_ioctl(_opl, SNDRV_DM_FM_IOCTL_SET_VOICE, (void *)&_oper[opIdx]); } |