diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-07-31 01:03:42 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-07-31 01:03:42 +0300 |
commit | 34f42407a2a2e90c2ba45e9e70c86529bd67c418 (patch) | |
tree | 774b7b9c004f35d284ce81978dc16427d9d3ab5a | |
parent | 7a2f4a8627142561acca8a2b22823eea4d222594 (diff) | |
download | libADLMIDI-34f42407a2a2e90c2ba45e9e70c86529bd67c418.tar.gz libADLMIDI-34f42407a2a2e90c2ba45e9e70c86529bd67c418.tar.bz2 libADLMIDI-34f42407a2a2e90c2ba45e9e70c86529bd67c418.zip |
Fix the initial panning state
-rw-r--r-- | src/adlmidi_private.hpp | 2 | ||||
-rw-r--r-- | src/chips/nuked/nukedopl3.c | 4 | ||||
-rw-r--r-- | src/chips/nuked/nukedopl3_174.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp index 8c219b9..6a8719e 100644 --- a/src/adlmidi_private.hpp +++ b/src/adlmidi_private.hpp @@ -801,7 +801,7 @@ public: vibspeed = 2 * 3.141592653 * 5.0; vibdepth = 0.5 / 127; vibdelay = 0; - panning = OPL_PANNING_BOTH; + panning = 64; portamento = 0; portamentoEnable = false; portamentoSource = -1; diff --git a/src/chips/nuked/nukedopl3.c b/src/chips/nuked/nukedopl3.c index ca10479..80a8975 100644 --- a/src/chips/nuked/nukedopl3.c +++ b/src/chips/nuked/nukedopl3.c @@ -1258,8 +1258,8 @@ void OPL3_Reset(opl3_chip *chip, Bit32u samplerate) chip->channel[channum].chtype = ch_2op; chip->channel[channum].cha = 0xffff; chip->channel[channum].chb = 0xffff; - chip->channel[channum].chl = 46052; - chip->channel[channum].chr = 46052; + chip->channel[channum].chl = 46340; + chip->channel[channum].chr = 46340; chip->channel[channum].ch_num = channum; OPL3_ChannelSetupAlg(&chip->channel[channum]); } diff --git a/src/chips/nuked/nukedopl3_174.c b/src/chips/nuked/nukedopl3_174.c index c7812ae..2f7d874 100644 --- a/src/chips/nuked/nukedopl3_174.c +++ b/src/chips/nuked/nukedopl3_174.c @@ -1248,8 +1248,8 @@ void OPL3v17_Reset(opl3_chip *chip, Bit32u samplerate) chip->channel[channum].chtype = ch_2op; chip->channel[channum].cha = 0xffff; chip->channel[channum].chb = 0xffff; - chip->channel[channum].chl = 46052; - chip->channel[channum].chr = 46052; + chip->channel[channum].chl = 46340; + chip->channel[channum].chr = 46340; OPL3_ChannelSetupAlg(&chip->channel[channum]); } chip->noise = 0x306600; |