summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/mednafen/files/mednafen-0.8.13-gcc45.patch')
-rw-r--r--games-emulation/mednafen/files/mednafen-0.8.13-gcc45.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-emulation/mednafen/files/mednafen-0.8.13-gcc45.patch b/games-emulation/mednafen/files/mednafen-0.8.13-gcc45.patch
new file mode 100644
index 000000000000..2ab5e9c7c85d
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.8.13-gcc45.patch
@@ -0,0 +1,11 @@
+--- src/pcfx/soundbox.cpp.old 2010-05-24 11:15:20.000000000 +0200
++++ src/pcfx/soundbox.cpp 2010-05-24 11:15:36.000000000 +0200
+@@ -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;
+ }
+ }