summaryrefslogtreecommitdiffstats
path: root/abs/extra/mednafen/fix_build.diff
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/mednafen/fix_build.diff')
-rw-r--r--abs/extra/mednafen/fix_build.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/mednafen/fix_build.diff b/abs/extra/mednafen/fix_build.diff
new file mode 100644
index 0000000..d91a6fa
--- /dev/null
+++ b/abs/extra/mednafen/fix_build.diff
@@ -0,0 +1,12 @@
+diff -ruN mednafen.orig//src/pcfx/soundbox.cpp mednafen/src/pcfx/soundbox.cpp
+--- mednafen.orig//src/pcfx/soundbox.cpp 2010-06-05 09:35:40.000000000 -0400
++++ mednafen/src/pcfx/soundbox.cpp 2010-06-05 09:35:55.000000000 -0400
+@@ -416,7 +416,7 @@
+ int rolloff = (int)((double)0.90 * 21477272 * 2 / 1365 / (1 << SampleFreq) ) / 2;
+ for(int ch = 0; ch < 2; ch++)
+ for(int lr = 0; lr < 2; lr++)
+- ADPCMSynth[ch][lr].treble_eq(blip_eq_t::blip_eq_t(-1000, rolloff, FSettings.SndRate));
++ ADPCMSynth[ch][lr].treble_eq(blip_eq_t(-1000, rolloff, FSettings.SndRate));
+ LSampleFreq = SampleFreq;
+ }
+ }