diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-06-19 16:12:27 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-06-19 16:25:36 +0200 |
commit | 3013fbb93b06e8d30b6b54c324340d6dccad7f3b (patch) | |
tree | 8ffbd8d896849ffd418bccf5d429f74e7f63c6d2 /src/adlmidi_load.cpp | |
parent | 70c83caace9911dc5d8b80c1653c96b073f88e4a (diff) | |
download | libADLMIDI-3013fbb93b06e8d30b6b54c324340d6dccad7f3b.tar.gz libADLMIDI-3013fbb93b06e8d30b6b54c324340d6dccad7f3b.tar.bz2 libADLMIDI-3013fbb93b06e8d30b6b54c324340d6dccad7f3b.zip |
get chip base on level with OPNMIDI
Diffstat (limited to 'src/adlmidi_load.cpp')
-rw-r--r-- | src/adlmidi_load.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi_load.cpp b/src/adlmidi_load.cpp index 9e19ab6..7f69e25 100644 --- a/src/adlmidi_load.cpp +++ b/src/adlmidi_load.cpp @@ -714,7 +714,7 @@ riffskip: return false; } - opl.Reset(m_setup.emulator, m_setup.PCM_RATE); // Reset OPL3 chip + opl.Reset(m_setup.emulator, m_setup.PCM_RATE, this); // Reset OPL3 chip //opl.Reset(); // ...twice (just in case someone misprogrammed OPL3 previously) ch.clear(); ch.resize(opl.NumChannels); |