diff options
author | Wohlstand <admin@wohlnet.ru> | 2024-05-11 01:59:49 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2024-05-11 01:59:49 +0300 |
commit | 827694b1fc17badb5e4f823e221574841034b658 (patch) | |
tree | a6e298d07adc060e27c1a2418d133d4001ce9f68 /src | |
parent | a4c14af21844b5113e0aea1bddeac55347b7714c (diff) | |
download | libADLMIDI-827694b1fc17badb5e4f823e221574841034b658.tar.gz libADLMIDI-827694b1fc17badb5e4f823e221574841034b658.tar.bz2 libADLMIDI-827694b1fc17badb5e4f823e221574841034b658.zip |
OPL3: Add the CSW/NoteSel initialisation to 0
Diffstat (limited to 'src')
-rw-r--r-- | src/adlmidi_opl3.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/adlmidi_opl3.cpp b/src/adlmidi_opl3.cpp index 93eb17e..b934475 100644 --- a/src/adlmidi_opl3.cpp +++ b/src/adlmidi_opl3.cpp @@ -1841,7 +1841,8 @@ void OPL3::initChip(size_t chip) { 0x004, 96, 0x004, 128, // Pulse timer 0x105, 0, 0x105, 1, 0x105, 0, // Pulse OPL3 enable - 0x001, 32, 0x105, 1 // Enable wave, OPL3 extensions + 0x001, 32, 0x105, 1, // Enable wave, OPL3 extensions + 0x08, 0 // CSW/Note Sel }; /* Clean-up channels from any playing junk sounds */ |