summaryrefslogtreecommitdiff
path: root/emulators/stella/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/stella/patches/patch-aa')
-rw-r--r--emulators/stella/patches/patch-aa27
1 files changed, 9 insertions, 18 deletions
diff --git a/emulators/stella/patches/patch-aa b/emulators/stella/patches/patch-aa
index f194954f20f..c9b1c23a317 100644
--- a/emulators/stella/patches/patch-aa
+++ b/emulators/stella/patches/patch-aa
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.2 2000/01/22 23:44:31 tron Exp $
+$NetBSD: patch-aa,v 1.3 2004/06/05 11:56:31 dillo Exp $
---- ../ui/sound/OSS.c.orig Tue May 18 10:19:45 1999
-+++ ../ui/sound/OSS.c Tue May 18 10:24:03 1999
-@@ -32,11 +32,7 @@
+--- ../ui/sound/SoundOSS.cxx.orig 2003-02-18 02:19:44.000000000 +0100
++++ ../ui/sound/SoundOSS.cxx
+@@ -22,13 +22,9 @@
+ #include <sys/ioctl.h>
#include <sys/types.h>
- #include <unistd.h>
-#ifdef __FreeBSD__
- #include <machine/soundcard.h>
@@ -13,17 +13,8 @@ $NetBSD: patch-aa,v 1.2 2000/01/22 23:44:31 tron Exp $
-#endif
+#include <soundcard.h>
- #include "TIASound.h"
-
-@@ -61,9 +57,9 @@
- int mute = 0;
-
- /* Open the sound device for writing */
-- if((fd = open("/dev/dsp", O_WRONLY, 0)) == -1)
-+ if((fd = open("/dev/sound", O_WRONLY, 0)) == -1)
- {
-- printf("stella-sound: Unable to open /dev/dsp device!\n");
-+ printf("stella-sound: Unable to open /dev/sound device!\n");
- return 1;
- }
+-#define DSP_DEVICE "/dev/dsp"
++/* #define DSP_DEVICE "/dev/dsp" */
+ #define MIXER_DEVICE "/dev/mixer"
+ #include "SoundOSS.hxx"