From 827694b1fc17badb5e4f823e221574841034b658 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sat, 11 May 2024 01:59:49 +0300 Subject: OPL3: Add the CSW/NoteSel initialisation to 0 --- src/adlmidi_opl3.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3