summaryrefslogtreecommitdiff
blob: 40b6ca10d823f9f0c95f8210345bfd12c6593b01 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- atari800-1.2.5/src/pokeysnd.c	2002-12-04 22:21:39.000000000 -0500
+++ atari800-1.2.4/src/pokeysnd.c	2001-07-22 04:24:47.000000000 -0400
@@ -1,4 +1,4 @@
-/* $Id: atari800-1.2.5-gentoo.diff,v 1.1 2003/01/31 22:01:10 rphillips Exp $ */
+/* $Id: atari800-1.2.5-gentoo.diff,v 1.1 2003/01/31 22:01:10 rphillips Exp $ */
 /*****************************************************************************/
 /*                                                                           */
 /* Module:  POKEY Chip Emulator, V2.4                                        */
@@ -533,8 +533,8 @@
 			/* or the channel is off (volume == 0) */
 			/* or the channel freq is greater than the playback freq */
 			if ( (AUDC[chan + chip_offs] & VOL_ONLY) ||
-				((AUDC[chan + chip_offs] & VOLUME_MASK) == 0)
-				/* || (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))*/) {
+				((AUDC[chan + chip_offs] & VOLUME_MASK) == 0) ||
+				(Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))) {
 				/* indicate the channel is 'on' */
 				Outvol[chan + chip_offs] = 1;
 
@@ -542,8 +542,8 @@
 				if ((chan == CHAN3 && !(AUDCTL[chip] & CH1_FILTER)) ||
 					(chan == CHAN4 && !(AUDCTL[chip] & CH2_FILTER)) ||
 					(chan == CHAN1) ||
-					(chan == CHAN2)
-					/* || (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))*/) {
+					(chan == CHAN2) ||
+					(Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))) {
 					/* and set channel freq to max to reduce processing */
 					Div_n_max[chan + chip_offs] = 0x7fffffffL;
 					Div_n_cnt[chan + chip_offs] = 0x7fffffffL;
@@ -1068,9 +1068,6 @@
 
 /*
 $Log: atari800-1.2.5-gentoo.diff,v $
 Revision 1.1  2003/01/31 22:01:10  rphillips
 new version. masked. fixes #11605

-Revision 1.9  2002/08/26 05:44:22  pfusik
-Adam Bienias's fix for better sound quality
-
 Revision 1.8  2001/07/22 08:24:47  knik
 PURE -> PURETONE to avoid windows headers interference