summaryrefslogtreecommitdiff
path: root/emulators/fmsx/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/fmsx/patches/patch-ab')
-rw-r--r--emulators/fmsx/patches/patch-ab15
1 files changed, 12 insertions, 3 deletions
diff --git a/emulators/fmsx/patches/patch-ab b/emulators/fmsx/patches/patch-ab
index acb18eeaed2..c030c4e6c35 100644
--- a/emulators/fmsx/patches/patch-ab
+++ b/emulators/fmsx/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 2000/08/06 14:45:05 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2001/06/03 17:34:58 kei Exp $
---- SndUnix.c.orig Thu Aug 3 19:17:23 2000
-+++ SndUnix.c Sun Aug 6 16:39:57 2000
+--- SndUnix.c.orig Thu Mar 8 04:15:16 2001
++++ SndUnix.c Sun Jun 3 10:10:59 2001
@@ -31,7 +31,9 @@
#include <sys/audioio.h>
@@ -12,3 +12,12 @@ $NetBSD: patch-ab,v 1.2 2000/08/06 14:45:05 wiz Exp $
#define AUDIO_CONV(A) (ULAW[0xFF&(128+(A))])
+@@ -236,7 +238,7 @@
+ case SIGUSR1:
+ /* Suspend execution, until SIGUSR2 catched */
+ #ifndef SUN_AUDIO
+- ioctl(SoundFD,SNDCTL_DSP_RESET);
++ ioctl(SoundFD,SNDCTL_DSP_RESET,1);
+ #endif
+ close(SoundFD);
+ for(Suspended=1;Suspended;pause());