From b6ee41ae3b0840ad80458d423553192344f9ef34 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Tue, 25 Mar 2025 22:29:00 +0300 Subject: Do cache the panning register --- src/adlmidi_opl3.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/adlmidi_opl3.hpp') diff --git a/src/adlmidi_opl3.hpp b/src/adlmidi_opl3.hpp index 5b472f7..362b301 100644 --- a/src/adlmidi_opl3.hpp +++ b/src/adlmidi_opl3.hpp @@ -74,6 +74,8 @@ private: std::vector m_keyBlockFNumCache; //! Cached BD registry value (flags register: DeepTremolo, DeepVibrato, and RhythmMode) std::vector m_regBD; + //! Cached C0 register value (primarily for the panning state) + std::vector m_regC0; #ifdef ADLMIDI_ENABLE_HW_SERIAL bool m_serial; -- cgit v1.2.3