SSI263: support phoneme zero amplitude

Refine Phasor native mode's logic for SSI263 access
This commit is contained in:
tomcw
2022-06-02 20:32:16 +01:00
parent cd0c3b00f8
commit 16f66da594
2 changed files with 12 additions and 6 deletions
+3
View File
@@ -328,6 +328,9 @@ void SSI263::Play(unsigned int nPhoneme)
bool bPause = false;
if (!m_isVotraxPhoneme && (m_ctrlArtAmp & AMPLITUDE_MASK) == 0)
nPhoneme = 0;
if (nPhoneme == 1)
nPhoneme = 2; // Missing this sample, so map to phoneme-2