mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-13 03:27:06 -04:00
* Fixed issue #5734 (FreeBoy Division by zero). Added comments and used more descriptive variable names for noise channel initialization block. Also indented the nested for loop to improve code clarity. The reasons for doing this can be found in this answer: https://softwareengineering.stackexchange.com/a/362796 * Better initial div_ratio guess Allows us to skip r = 0 and a conditional in the loop below. --------- Co-authored-by: Spekular <Spekular@users.noreply.github.com>
25 KiB
25 KiB