logo

overlay

My own overlay for experimentations, use with caution, no support is provided

milkytracker-1.02.00-EQConstants.cpp.patch (664B)


      1 From beb9839495a282414dab3dbe36ea39075e2a979e Mon Sep 17 00:00:00 2001
      2 From: Christopher O'Neill <code@chrisoneill.co.uk>
      3 Date: Wed, 28 Feb 2018 19:35:18 +0000
      4 Subject: [PATCH] Fix #152: Type mismatch in EQConstants.cpp
      5 
      6 ---
      7  src/tracker/EQConstants.cpp | 2 +-
      8  1 file changed, 1 insertion(+), 1 deletion(-)
      9 
     10 diff --git a/src/tracker/EQConstants.cpp b/src/tracker/EQConstants.cpp
     11 index ffbf6ea8..f221364c 100644
     12 --- a/src/tracker/EQConstants.cpp
     13 +++ b/src/tracker/EQConstants.cpp
     14 @@ -23,7 +23,7 @@
     15  #include "EQConstants.h"
     16  #include "math.h"
     17  
     18 -#define p(e) ldexp(0x10558, e-4*4)
     19 +#define p(e) ldexp(66904.0f, e-4*4)
     20  
     21  const float EQConstants::EQ3bands[3] = 
     22  {