aboutsummaryrefslogtreecommitdiff
path: root/games/SameBoy/sound.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/SameBoy/sound.patch')
-rw-r--r--games/SameBoy/sound.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/games/SameBoy/sound.patch b/games/SameBoy/sound.patch
new file mode 100644
index 0000000000000..ce1a52a703a5e
--- /dev/null
+++ b/games/SameBoy/sound.patch
@@ -0,0 +1,26 @@
+From 94136f5741b7484189af048830126c4bad04ac11 Mon Sep 17 00:00:00 2001
+From: Lior Halphon <LIJI32@gmail.com>
+Date: Sat, 10 Nov 2018 19:14:18 +0200
+Subject: [PATCH] =?UTF-8?q?Adjust=20DAC=20attributes=20to=20fix=20LADX?=
+ =?UTF-8?q?=E2=80=99s=20crackling=20audio=20(Fixes=20#125)=20while=20keepi?=
+ =?UTF-8?q?ng=20Cannon=20Fodder=E2=80=99s=20buzzing=20reasonable=20(Proper?=
+ =?UTF-8?q?=20audio=20measurements=20still=20required)?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+---
+ Core/apu.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Core/apu.h b/Core/apu.h
+index 01ca1321..ab42055b 100644
+--- a/Core/apu.h
++++ b/Core/apu.h
+@@ -12,7 +12,7 @@
+ They are known to be incorrect (Some analog test ROM sound different),
+ but are good enough approximations to fix Cannon Fodder's terrible audio.
+ It also varies by model. */
+-#define DAC_DECAY_SPEED (1000000)
++#define DAC_DECAY_SPEED 50000
+ #define DAC_ATTACK_SPEED 1000