summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2021-05-23 20:50:54 -0700
committer Aaron Giles <aaron@aarongiles.com>2021-05-23 20:50:54 -0700
commit646938cf96664743498806f5c3678b206f20e8e9 (patch)
tree0f0701c6fa9a69196e86070ffbc6107d64f47b0b
parent9e1ed0acf4fd7cc4067f729f5ea709298b49de95 (diff)
ymfm: Don't mask off top bit of octave for OPQ.
-rw-r--r--3rdparty/ymfm/src/ymfm_opq.h4
1 files 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); }