diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-05-31 23:53:16 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-05-31 23:53:16 +0200 |
commit | b4851dc6fd07c6ec8d14c35de4d5bdb4d1900103 (patch) | |
tree | 809821043133da68af93be6e5133558f5edc5848 | |
parent | 77cf2d49be3a88ea2b5972b70bb031b1475cb8c0 (diff) | |
download | libADLMIDI-b4851dc6fd07c6ec8d14c35de4d5bdb4d1900103.tar.gz libADLMIDI-b4851dc6fd07c6ec8d14c35de4d5bdb4d1900103.tar.bz2 libADLMIDI-b4851dc6fd07c6ec8d14c35de4d5bdb4d1900103.zip |
edit the formula to have a minimum 4ops count
-rw-r--r-- | src/adlmidi_private.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/adlmidi_private.cpp b/src/adlmidi_private.cpp index 7a8b3b2..f95fad0 100644 --- a/src/adlmidi_private.cpp +++ b/src/adlmidi_private.cpp @@ -63,7 +63,6 @@ int adlRefreshNumCards(ADL_MIDIPlayer *device) unsigned NumFourOps = ((n_fourop[0] == 0) && (n_fourop[1] == 0)) ? 0 : (n_fourop[0] >= (n_total[0] * 7) / 8) ? play->m_setup.NumCards * 6 - : (n_fourop[0] < (n_total[0] * 1) / 8) ? 0 : (play->m_setup.NumCards == 1 ? 1 : play->m_setup.NumCards * 4); play->opl.NumFourOps = play->m_setup.NumFourOps = NumFourOps; |