aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_opl3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/adlmidi_opl3.cpp')
-rw-r--r--src/adlmidi_opl3.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/adlmidi_opl3.cpp b/src/adlmidi_opl3.cpp
index f3672d3..0f977e2 100644
--- a/src/adlmidi_opl3.cpp
+++ b/src/adlmidi_opl3.cpp
@@ -21,6 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "adlmidi_opl3.hpp"
#include "adlmidi_private.hpp"
#include <stdlib.h>
#include <cassert>
@@ -148,6 +149,13 @@ static const uint16_t g_channelsMap[23] =
Ports: ???
*/
+enum
+{
+ OPL_PANNING_LEFT = 0x10,
+ OPL_PANNING_RIGHT = 0x20,
+ OPL_PANNING_BOTH = 0x30
+};
+
static adlinsdata2 makeEmptyInstrument()
{
adlinsdata2 ins;
@@ -181,6 +189,10 @@ OPL3::OPL3() :
#endif
}
+OPL3::~OPL3()
+{
+}
+
bool OPL3::setupLocked()
{
return (m_musicMode == MODE_CMF ||