Skip to content

Commit

Permalink
Fix Bug in WoodyConstants? #16
Browse files Browse the repository at this point in the history
  • Loading branch information
Valéry Sablonnière committed Jun 24, 2023
1 parent e28d26f commit 813496c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NScumm.Audio/OPL/Woody/WoodyConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ internal static class WoodyConstants

// vibrato constants
public const int VIBTAB_SIZE = 8;
public const double VIBFAC = 70 / 50000; // no braces, integer mul/div
public const double VIBFAC = 70.0 / 50000.0;

// tremolo constants and table
public const int TREMTAB_SIZE = 53;
Expand Down

0 comments on commit 813496c

Please sign in to comment.