diff --git a/src/dexedadapter.h b/src/dexedadapter.h index 3e85c1b..7f2badc 100644 --- a/src/dexedadapter.h +++ b/src/dexedadapter.h @@ -70,6 +70,13 @@ public: m_SpinLock.Release (); } + void setSustain (bool sustain) + { + m_SpinLock.Acquire (); + Dexed::setSustain (sustain); + m_SpinLock.Release (); + } + private: CSpinLock m_SpinLock; };