summaryrefslogtreecommitdiff
path: root/games/xgalaga
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-11-30 09:31:32 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-11-30 09:31:32 +0000
commitd6b2fcfe19a3ffb076dc30ba19b42df3024ee4c0 (patch)
tree367d7689400ec23cd8a46ae37796155fa02fb6be /games/xgalaga
parentPut EXTRACT_SUFX in the right place. Use more predefined macros. (diff)
Fix for GUS sound cards.
Submitted by: jmz
Notes
Notes: svn path=/head/; revision=4727
Diffstat (limited to 'games/xgalaga')
-rw-r--r--games/xgalaga/files/patch-ab19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/xgalaga/files/patch-ab b/games/xgalaga/files/patch-ab
new file mode 100644
index 000000000000..85652556561f
--- /dev/null
+++ b/games/xgalaga/files/patch-ab
@@ -0,0 +1,19 @@
+*** xgal.sndsrv.freebsd.c~ Thu May 18 00:44:28 1995
+--- xgal.sndsrv.freebsd.c Wed Oct 25 23:32:15 1995
+***************
+*** 82,88 ****
+ int dsp, frag, value;
+ int mixer;
+
+! dsp = open(dspdev, O_RDWR);
+ if (dsp < 1)
+ {
+ fprintf (stderr, "xgal.sndsrv: Couldn't open DSP %s\n",dspdev);
+--- 82,88 ----
+ int dsp, frag, value;
+ int mixer;
+
+! dsp = open(dspdev, O_WRONLY);
+ if (dsp < 1)
+ {
+ fprintf (stderr, "xgal.sndsrv: Couldn't open DSP %s\n",dspdev);