summaryrefslogtreecommitdiff
path: root/games/SameBoy/sound.patch
blob: ce1a52a703a5e0c5647cd629fe297b604afd0b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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