We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce: enter 15:0 in the volume envelope of any instrument
15:0
The text was updated successfully, but these errors were encountered:
integer division by zero error on this line, when m_iValueDiv == 0
m_iValueDiv
char CSeqConversionDefault::GetValue() { // do not use float division int Val = m_iCurrentValue; if (Val > m_iMaxValue) Val = m_iMaxValue; if (Val < m_iMinValue) Val = m_iMinValue; if (++m_iRepeatCounter >= m_iRepeat) { m_iValueMod += m_iValueInc; m_iCurrentValue += m_iValueMod / m_iValueDiv; // division by zero! m_iValueMod %= m_iValueDiv; m_iRepeatCounter = 0; if (++m_iCounter >= m_iValueDiv) m_bReady = false; } return Val; }
Sorry, something went wrong.
Avoid division by zero in MML sequence parsing
fb82b8b
Fixes #222.
4cdacd9
Successfully merging a pull request may close this issue.
Steps to reproduce: enter
15:0
in the volume envelope of any instrumentThe text was updated successfully, but these errors were encountered: