Files
lmms/plugins/FreeBoy
Aidan Mueller 1f30ffc5e4 Fixed issue #5734 (FreeBoy Division by zero) (#6053)
* 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>
2023-07-02 12:28:40 +09:00
..
2017-11-08 20:47:22 -05:00
2017-11-08 20:47:22 -05:00
2017-11-08 20:47:22 -05:00
2017-11-08 20:47:22 -05:00
2017-11-08 20:47:22 -05:00
2017-11-08 20:47:22 -05:00
2017-11-08 20:47:22 -05:00
2017-11-08 20:47:22 -05:00
2023-04-18 14:39:02 -05:00
2017-11-08 20:47:22 -05:00