From 646938cf96664743498806f5c3678b206f20e8e9 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 23 May 2021 20:50:54 -0700 Subject: ymfm: Don't mask off top bit of octave for OPQ. --- 3rdparty/ymfm/src/ymfm_opq.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/ymfm/src/ymfm_opq.h b/3rdparty/ymfm/src/ymfm_opq.h index 8060c30575a..10b91266e9d 100644 --- a/3rdparty/ymfm/src/ymfm_opq.h +++ b/3rdparty/ymfm/src/ymfm_opq.h @@ -198,8 +198,8 @@ public: uint32_t ch_echo(uint32_t choffs) const { return byte(0x18, 7, 1, choffs); } uint32_t ch_lfo_pm_sens(uint32_t choffs) const { return byte(0x18, 4, 3, choffs); } uint32_t ch_lfo_am_sens(uint32_t choffs) const { return byte(0x18, 0, 2, choffs); } - uint32_t ch_block_freq_24(uint32_t choffs) const { return word(0x20, 0, 6, 0x30, 0, 8, choffs); } - uint32_t ch_block_freq_13(uint32_t choffs) const { return word(0x28, 0, 6, 0x30, 0, 8, choffs); } + uint32_t ch_block_freq_24(uint32_t choffs) const { return word(0x20, 0, 7, 0x30, 0, 8, choffs); } + uint32_t ch_block_freq_13(uint32_t choffs) const { return word(0x28, 0, 7, 0x38, 0, 8, choffs); } // per-operator registers uint32_t op_detune(uint32_t opoffs) const { return byte(0x40, 0, 6, opoffs); } -- cgit v1.2.3