diff options
author | 2022-11-24 07:56:33 -0800 | |
---|---|---|
committer | 2022-11-25 02:56:33 +1100 | |
commit | c778f5406ba15a04d166ca39f6ff8f2668446259 (patch) | |
tree | 9f3b7b93e1a4396798a05143a0f100ec1e54a3bf /3rdparty/ymfm/src/ymfm_pcm.h | |
parent | 09e5a49fd8bd383da84801cfa9dac1e4a34d91ef (diff) |
Update 3rdparty/ymfm to latest. (#10583)
* Fixes uninitialized member causing slight jitter in timing (GitHub #10414).
* Fixes OPNA behavior when LFO is disabled.
* Fixes a PCM playback wraparound bug due to incorrect auto-incrementing.
Diffstat (limited to '3rdparty/ymfm/src/ymfm_pcm.h')
-rw-r--r-- | 3rdparty/ymfm/src/ymfm_pcm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/ymfm/src/ymfm_pcm.h b/3rdparty/ymfm/src/ymfm_pcm.h index 2022a69b981..b471fa611a6 100644 --- a/3rdparty/ymfm/src/ymfm_pcm.h +++ b/3rdparty/ymfm/src/ymfm_pcm.h @@ -212,8 +212,8 @@ public: uint32_t result = memory_address(); uint32_t newval = result + 1; m_regdata[0x05] = newval >> 0; - m_regdata[0x06] = newval >> 8; - m_regdata[0x07] = (newval >> 16) & 0x3f; + m_regdata[0x04] = newval >> 8; + m_regdata[0x03] = (newval >> 16) & 0x3f; return result; } |