diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-19 22:57:06 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-19 22:57:06 +0300 |
commit | ad60170e94d599c76351198ca4052d0cd5c9602e (patch) | |
tree | 4ab583ebdc831a4ea40082dc921475d95819545b /src/chips/dosbox_opl3.cpp | |
parent | c0873278718da57ff19194377a35601027926c5f (diff) | |
parent | 105c5db749836ff25c03ae7abf3b2348ecb72c86 (diff) | |
download | libADLMIDI-ad60170e94d599c76351198ca4052d0cd5c9602e.tar.gz libADLMIDI-ad60170e94d599c76351198ca4052d0cd5c9602e.tar.bz2 libADLMIDI-ad60170e94d599c76351198ca4052d0cd5c9602e.zip |
Merge branch 'master' into stable
Diffstat (limited to 'src/chips/dosbox_opl3.cpp')
-rw-r--r-- | src/chips/dosbox_opl3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chips/dosbox_opl3.cpp b/src/chips/dosbox_opl3.cpp index af4cb08..30fa38e 100644 --- a/src/chips/dosbox_opl3.cpp +++ b/src/chips/dosbox_opl3.cpp @@ -23,7 +23,7 @@ void DosBoxOPL3::setRate(uint32_t rate) DBOPL::Handler *chip_r = reinterpret_cast<DBOPL::Handler*>(m_chip); chip_r->~Handler(); new(chip_r) DBOPL::Handler; - chip_r->Init(49716); + chip_r->Init(effectiveRate()); } void DosBoxOPL3::reset() @@ -32,7 +32,7 @@ void DosBoxOPL3::reset() DBOPL::Handler *chip_r = reinterpret_cast<DBOPL::Handler*>(m_chip); chip_r->~Handler(); new(chip_r) DBOPL::Handler; - chip_r->Init(49716); + chip_r->Init(effectiveRate()); } void DosBoxOPL3::writeReg(uint16_t addr, uint8_t data) |